Removed redundant 0 count check in remove_by_value