Aggregate functions can be nested, e.g., to calculate the maximum count.
GET: https://api.triplydb.com/queries/academy/nested-aggregate/run