How we can use $count clause in MongoDB Compass

In Compass, when you run a query you see the number of results without the need for a count.

Alternatively, you can use the embedded shell and use the same command you use in Robo 3T.