If I use a query like below to only get the number of documents in a collection (and I am not displaying anything on screen), does that count as reading the document. So let's say if I have 1,000 documents in my products collection, does the query below result in 1000 reads? If so, what would be a cheaper option to count documents in a collection?
void countDocuments() async {
QuerySnapshot _myDoc = await Firestore.instance.collection('products').getDocuments();
_myDocCount = _myDoc.documents.length;
}