//CounterValue makes thread safe counter func CounterValue(counter *util.Counter) int { return int(counter.Value()) }