Implement Dgraph's [@groupBy](https://dgraph.io/docs/query-language/#groupby) directive. blocked by: #4 since only aggregations can be run inside grouped edge.