limit number of documents in mongodb query aggregation code example Example: limit aggregation mongodb { $limit: <positive integer> }