Added docs in counters and fixed an example