How many times does the same word appear in a text box?

How do you count how many times the same word appears in a text box?

Use the split block and split at that word to create a list, then if the list is not empty use the length of list block and subtract 1 to get the number of words

Taifun

Hi dear,
try this

PS
It’s not perfect, because in a list where two words are attached, like in this example:

Apple
PearApplePear
Apple

Pear would only be counted once
Pear = 1
Apple = 3