Fixed get/set counter