Word Counter

Word Counter splits pasted text on whitespace and counts the resulting tokens as words. Word Counter also totals characters with spaces, characters without spaces, sentences, and paragraphs in the same pass. Word Counter treats a hyphenated compound as one token unless the user selects a split-on-hyphen rule, and it counts numerals and URLs as words when they stand alone. Word Counter updates the totals on each keystroke so a draft can be checked against a limit such as 500 words. The count follows the visible text and ignores formatting from a stripped paste. A goal field tracks words still remaining.