Removing count variable