May be someone who looked at the aggregation functions in previous message can think that there are a lot of unnecessary query.
But actually I use aggregation functions in my updateOne or updateMany functions.