added docs for counter