Filtering by count

Sorting users(high to low) by count of Reply>Questions>Users is not equal to Logged in User’ID.
(First pictuse should sort “ほの (7)” top.)
スクリーンショット 2021-12-13 17.35.39

I have three Database Collections, User, Question, Reply; User<Questions<Replies.

So, how do I sort by the count?
I would really appreciate if you guys could help me.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.