Database

[{"collection":"collection","count":10,"content":{"key":{"type":"int","min":0,"max":10}}}]

Query

db.collection.aggregate([{"$match":{_id:{$gte:ObjectId("66b272950000000000000000"),$lte:ObjectId("68b272950000000000000000")}}}]).explain("executionStats")

Result