documented client-api/session/querying/how-to-perform-dynamic-aggregation