In db['TF'] I have about 60 million records.
I need to get the quantity of the records.
If I run db['TF'].count(), it returns at once.
If I run db['TF'].count_documents({}), that is a such long time before I get the result.
However, the count method will be deprecated.
So, how can I get the quantity quickly when using count_documents? Is there some arguments I missed?
I have read the doc and code, but nothing found.
Thanks a lot!