Using the c# driver for MongoDB I can easily construct a query against which I can then add SetSkip() and SetLimit() parameters to constrict the result set to a certain size. >
I'm using the Driver 2.3.0 and now is also possible to do that like this:
... IMongoCollection Collection = db.GetCollection(CollectionName); var yourFilter = Builders.Filter.Where(o => o.prop == value); long countResut = Collection.Count(yourFilter);