What's the best way to count documents using $group

I completely agree.

This is why I mentioned