BR: At the start of that article, it says:
Code:
Hyphens' main purpose is to glue words together.
Whenever I glue two things together, it is to make a single thing. Hence, the hyphen glues two words together to be one word.
And the devil in me wants to mention that your example is for a "compound adjective". Doesn't that mean the non-hyphenated version should be counted as a single word? Yeah, I'm stretching, but, what the hell
Anyway, the big problem is that without a very complete dictionary and correctly handling the grammar, there is no way to decide between the two. For simplicity, you have to decide that a hyphen either a word delimiter or part of the word.