Update MapCounter.java