You have got a list of Students. You want to know how many students from your list are there from each City.
getMapOfCityToNumberOfStudents method currently returns an empty Map from City to Long. Use Streams to construct a map from City to number of Students in each City.