Sammaye/MongoYii — pull request #8 by mjalajel (2013-03-12 08:51:35+00:00)
Title: DataProvider to support counting objects before actually fetching them. 

Currently, calling $dataprovider->count() before $dataprovider->getData() throws an exception!