Change counter as AtomicInteger