Create CoreBasedCounter.java