Remove unused variable 'count'