Update Counter.java