BTW, I think I would prefer that the expression here use `collection` rather than `your_object`.  An expression like `collection.count` reads more naturally than `your_object.count`.