WiFast/bearfield — pull request #9 by lunixbochs (2014-09-23 04:19:20+00:00)
Title: some minor changes

I polished some rough edges while trying this out in an existing project.

The main impact of this Pull Request will be if you use len(query) anywhere, which needs to change to `query.count()`. This is more mongo-esque, and better reflects the fact query.count() is not a free operation. I've also added Document.count().