title: TypeError: object of type 'Cursor' has no len()
body: <p>I get this error:</p>
  
  <blockquote>
    <p>TypeError: object of type 'Cursor' has no len()</p>
  </blockquote>
  
  <p>when I try to execute:</p>
  
  <pre><code>reply = db['test'].find({"date":{"$gt":date_query}} ,{"date":1,"route_id":1,"loc":1,"_id":0})
  
  length = len(reply)
  </code></pre>