Getting wrong answer in IDE

Hi Team,
For Lab: Array operators and projection I am getting wrong value for query result even though I am using a correct query.
Kindly check the below attached screenshot of terminal window.

The query does look correct. I would recommend checking the following:

  1. Make sure you’re in the correct database: use sample_training
  2. Make sure you have the correct number of documents. There should be 9500.

If all else fails, you should be able to drop and reload the sample data sets

Please note that since your $elemMatch query a single field inside the array your query is equivalent to the short-cut:

{ "" : "Seattle" }

For more info, read