title: Printing the size of list items in map for each key
body: <p>I have java POJO User which contains firstName of the user. There is a map which contains the list of users mapped against the school name. Something like the below</p>
  
  <pre><code>class User{
   String name;
  }
  
  class UserMap{
   Map&lt;String,List&lt;User&gt; userMapOfSchool;
  
  public String toString(){
   //return "schoolName has noOfStudents" for each key in the map
  }
  }
  </code></pre>
  
  <p>As mentioned above in the toString() method, I wanted to print the list school name and the number of students in the school. 
  How can I do that in Java 8?</p>