Changed to count variable