public static CollectionStatsResult GetCollectionStats(MongoDatabase database, string collection) { CommandResponse result = MongoDatabaseCommands.RunCommand(database, new { collstats = collection }); return new CollectionStatsResult(result.GetDefaultResponse()); }