Creates a $count pipeline stage using the named field to store the result
the $count pipeline stage @mongodb.driver.manual reference/operator/aggregation/count/ $count
the data class field in which to store the count