Validates length of phone numbers