I have a mongodb collection of documents. Each document refers to a person and the countries he has visited. The countries visited is an array of the country names.
I want to get a list of all people who have visited more than 5 countries.
Can anybody help me with a query that can be executed on robo mongo?
Thanks in Advance.