Count in MonogoDB Atlas

How do i count from atlas?

image

Remove the count() part from the query and run again
It will display the count in query results

This is not showing me any one numeric result!


I need to consume it just like the query in mongo-shell

Please If I still didn’t get it, take a screenshot for me,
Thanks in advance

That is expected output from Atlas
When results returned are huge it will show 1-20 of many
I think you can use aggregations with $count

Or use shell or Compass

1 Like