check the number of a special character in python code example
Example: python - count values that contain special characters
special = '[(_:/,#%\=@)]' # Define special characters
df['count'] = df['myvar'].str.count(special) # Count them