Is it possible to do grouping queries and aggregate results by using marklogic-client-api? For example, I have 3 indexes for an entity and want to group the results by them and know the 'count' for each triple.
Supposing it is possible to do something like, would it be possible to do the same using data data movement api?
I know there is cts:element-value-co-occurrences
, but I don't think I can use it in marklogic-client-api.