Removed unnecessary count check.