I\'m looking for a feasible way to get the length of cursor got from MongoDB.
I find that using cursor.iter().count() is a feasible way to reslove this problem
cursor.iter().count()