Modified count variable