The STATS command supports these grouping functions:
STATS
:::{include} lists/grouping-functions.md :::
:::{include} functions/bucket.md :::
:::{include} functions/categorize.md :::