Comparison Operators Quiz

Through Compass I can connect to the video.movieDetails db and collection and see that there are 2,295 documents in there.

When I connect in through the shell and issue even a basic ‘count’ it doesn’t return any results.

MongoDB Enterprise Cluster0-shard-0:PRIMARY> db.movieDetails.count()
0

Not sure where I might be going wrong. Can someone point me in the right direction without providing the answer?

Thanks.

Most likely you are connected to wrong cluster
Are you seeing that collection?

I checked count from compass and shell on sandbox.It gives same count-2295
Sandbox:
MongoDB Enterprise Cluster0-shard-0:PRIMARY> use video
switched to db video
MongoDB Enterprise Cluster0-shard-0:PRIMARY> show collections
movieDetails
moviesScratch
MongoDB Enterprise Cluster0-shard-0:PRIMARY> db.movieDetails.count()
2295
Class cluster:
MongoDB Enterprise Cluster0-shard-0:PRIMARY> use video
switched to db video
MongoDB Enterprise Cluster0-shard-0:PRIMARY> show collections
movies
MongoDB Enterprise Cluster0-shard-0:PRIMARY> db.movieDetails.count()
0

i am also facing the same issue , how do i connect to the right cluster here ?