How to get count along with parent in elastic search 6?

I am using elastic search 6.3.0 and
I have set up a parent-child relationship and I would like to be able to
return a list of parents but also include the count of children per parent.
Is there an easy way to do this at the moment?

Thank you

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