Modified counter