Yes, the methodology will be the same filter out the documents, then group them and then get the count form that. But make sure that you’ve a projection list where you can add new (additional field).
Yes, the methodology will be the same filter out the documents, then group them and then get the count form that. But make sure that you’ve a projection list where you can add new (additional field).