mongodb limit aggregate code example Example: limit aggregation mongodb { $limit: <positive integer> }