Update WordCounter.java