Count constructor
Count(
- String fieldName
Creates $count
aggregation stage
fieldName
- is the name of the output field which has the count as its
value. fieldName
must be a non-empty string and must not contain the .
character.
Implementation
Count(String fieldName) : super('count', fieldName);