added counter

added counter