adds validation for adding popularity value when entering multiple names