AggregateFunction
An aggregate function of the pipeline API, mirroring com.google.firebase.firestore.pipeline.AggregateFunction from the Firebase Android SDK: computed over the input documents (or over each group) by the aggregate stage; name the result with alias.