It's impossible at the moment.
As an alternative options you can
Execute a second query for just the children objects
Calculate the total number of child objects on the client side. E.g. using JsonPath