Google add the count() aggregation query to count, please add this aggregation.
For example, count() operations that match between 0 and 1000 index entries are billed for one document read. For a count() operation that matches 1500 index entries, you are billed 2 document reads.
Hello :
Google add the count() aggregation query to count, please add this aggregation.
For example, count() operations that match between 0 and 1000 index entries are billed for one document read. For a count() operation that matches 1500 index entries, you are billed 2 document reads.
https://firebase.google.com/docs/firestore/query-data/aggregation-queries#web-version-9_1
https://firebase.google.com/docs/firestore/pricing#aggregation_queries