Hey Steve, I'm not aware of that definition. Hmm...Would have to have a link to that definition? I guess tweak the script pretty simply if that's the case.
But yes, to answer your question, this is a word count as defined by spaces between words.
Off-the-cuff thoughts: is a number (say "12") a word? Is a hyphen -- used, say, like this -- a word? They count as 'em in your webapp, but I'd be curious what the official definition of word actually entails.