My model classes are: Post, Comment (Post has a one-to-many relation with Comment).
I want to query the count of comments on a post. So I am querying get Post and joining Comment, but I can't get joined comment's full entity length.
How do I get count of joined entity? I am thinking of the findAndCountAll method, but this is getting the count of Post instead.