db.compound.find().sort(
{b:1}).itcount()
3
> db.compound.find().sort(
)
{ "$err" : "too much key data for sort() with no index. add an index or specify a smaller limit", "code" : 10128 } { "$err" : "too much key data for sort() with no index. add an index or specify a smaller limit", "code" : 10128 } { "$err" : "too much key data for sort() with no index. add an index or specify a smaller limit", "code" : 10128 }