Formulate counter

Formulate counter