Create CustomCounter.java