Simplify Counter implementation
Simplify Counter implementation

- use a pointer receiver only where necessary
- use strconv.Itoa instead of fmt.Sprintf
- fix call to strconv.ParseInt: the last argument must be 0 for int
  instead of 64 (for proper compatibility with 32 bits platform)

octago/sflags,octago/sflags