Count words using the page language
Word boundaries are found with Intl.Segmenter and only word-like segments are counted. Punctuation and emoji alone do not become words. Language rules and browser Unicode versions can explain differences from another editor.