fixed $itemsCount bug in MongoDataSource