Groups records by unique property values
Optional
Sub-aggregates to apply within each bucket
Number of top buckets to return (default: 10, max: 2000)
Groups records by unique property values