How to calculate
Break the text into Unicode word-like segments. Punctuation alone does not count as a word. The table gives additional character and byte counts.
Worked example
Use Text to count One fish, two fish.. The result is 4 words.
Input and result notes
A number can count as a word-like segment. Unicode segmentation can treat punctuation differently from a simple count of spaces.
Unicode text segmentation reference