AggCount
AggCount returns an aggregator that computes the number of elements within an aggregation group.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| resultColumn | String | The name of the output column that will contain the number of elements in each group. |
Returns
An aggregator that computes the number of elements within an aggregation group, for each group.
Examples
In this example, AggCount adds a count column, Number, while AggAvg returns the average Number, as grouped by X.