title: How do you return multiple results from a mongoDB aggregate() query?
body: <p>Here is a query which runs a match, and then returns the number of unique entries in a specific field:</p>
  
  <pre><code>db.sequences.aggregate([{$match: {id: 5}}, {$group : {_id : "$field"} }, {$group: {_id:1, count: {$sum : 1 }}}])
  </code></pre>
  
  <p>However, what if I wanted to return multiple values, such as a count of all of the documents in the original match aggregation, the first 50 documents in the original match, and the number of unique entries of a field2 for the same matched set of documents?</p>
  
  <p>Would I be able to write 1 aggregate query that returns all of these values?</p>