Replace AtomicLong with CounterStat