If the query team were to make this change, it would change a longstanding meaning in the server status counters and would potentially affect how downstream teams do their tracking. If this would negatively affect a downstream team, please comment on
SERVER-66495 or reach out to the query team in #query-execution.
Currently, only the official Find Command increments the "Query" OpCounter from db/stats/counters.h. Any use of the aggregation pipeline command is only counted as a "Command", lumped together with all other operations that aren't Query, writes, or getmores.
Since it would be more useful to have all commands that perform query-like operations be counted as queries, we should start counting aggregations as queries.
(Note that we already count get-mores issued on cursors sourced either by aggregation or by finds, without distinction.)