count the number of occurrence specific string in column in pandas code example
Example: number of total words in cell pandas
df["WANTED_COLUMN"].apply(lambda x: len(str(x).split(' ')))
df["WANTED_COLUMN"].apply(lambda x: len(str(x).split(' ')))