title: Count int occurrences with Java8
body: <p>Is there a better way to count int occurrences with Java8</p>
  
  <pre><code>int[] monthCounter = new int[12];
  persons.stream().forEach(person -&gt; monthCounter[person.getBirthday().getMonthValue() - 1]++);
  </code></pre>