Fill in countPresent so that it returns how many of the given strings are keys of the map. Use containsKey.
countPresent
containsKey
The program prints 2.
2