add counter.go