limit

abstract fun limit(count: Int): AggregationPipeline<T>

Limit to N documents ($limit stage).