@steevej Appologies for late reply.
Answer to your 1st question: the query that I have provided, just remove $count stage from it. It is the same query.
Additional pipelines will include $group stage that will fetch summation of docmentations with different business logics. (I can’t share that thing with you that’s why i have created a simple sample query with count stage. If that query is executed in minimum amount of time then I could also get those thing too)