Update WordTypeCounter.java