Represents an aggregation that counts all documents in the input set.
CountAll is used within the aggregate pipeline stage to get the total number of documents
that match the query criteria up to that point.
Example usage:
// Count all books in the collectionfirestore.pipeline().collection("books").aggregate([CountAll().as("totalBooks")])// Count all sci-fi books published after 1960firestore.pipeline().collection("books").where(Field("genre").equal("Science Fiction")&&Field("published").greaterThan(1960)).aggregate([CountAll().as("sciFiBooksCount")])
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-13 UTC."],[],[]]