Below one of the document inside my test.users
collection.
{
"_id": {
"$oid": "62ef8c502935226353a97efb"
},
"workspaces": [
{
"$oid": "62ef8c722935227aaca97eff"
}
],
"emailConfirmed": true,
"ipInfo": {
"ip": "191.23.43.218",
"region": "Krasnodarskiy",
"country": "RU",
"timezone": "Europe/Moscow"
},
"__v": 0
}
I want to count the number of country
of RU
in test.users
collection in MongoDB compass, how should I do it? I only saw filter
, project
, sort
, collation
under Documents as follows in Mongo DB compass, is there a way I can directly enter a mongoDB query?