COUNT

The COUNT aggregation function calculates the number of documents in the input stream.

For example, you can count the number of employees.

See Also
RESULT SET
AGGREGATE
GROUP BY
Choose Where to Apply Aggregations
Parameter Description
Filter expressionAn expression to keep some elements only. It is useful to process the aggregation on a subpart of your input stream.