Counter implemented