mongoid/mongoid — pull request #2658 by arthurnn (2012-12-27 00:33:53+00:00)
Title: [ #2645 ] - adding cache for count method 

I also changed the local methods on mongo.rb to use the local count method so it will take advantage of the cache.