mongodb version 2.0.1
Counting documents:
> db.emails.find({"tag": false}).count()
11332395
> db.emails.find({"tag": true}).count()
0
> db.emails.findOne({"tag": true})
{
"_id" : ObjectId("4e0b1be9c79eb321c700000b"),
"email" : "",
"tag" : true,
"used" : NumberLong(1309351412),
"verified" : 0
}
tag is index key
count return 0 for "tag": True, but should return a number of documents