Sammaye/MongoYii — pull request #32 by donnguyen (2013-04-11 08:53:48+00:00)
Title: Add count() function to EMongoDocument

Just added count() function to EMongoDocument, simple modify but it can help us easier to work with CPagination. Now if we want to use CPagination, we need to run find() then can use count().