Hi James,
well I don’t think so, the best you can do is use groupby https://docs.dgraph.io/query-language/#groupby