Create MapCounter.java