title: How can I filter by the length of an embedded document in MongoDB?
body: <p>For example given the BlogPost/Comments schema here:</p>
  
  <p><a href="http://mongoosejs.com/" rel="nofollow">http://mongoosejs.com/</a></p>
  
  <p>How would I find all posts with more than five comments?  I have tried something along the lines of</p>
  
  <pre><code>where('comments').size.gte(5)
  </code></pre>
  
  <p>But I'm getting tripped up with the syntax</p>