Need help with dgraph query

Hi August hell,
I tried with group by too. but no luck till now.

 @MichelDiz.  Please help me with this.