I type //echo -a $gettok(hello how are you doing today?,0,32)
It returns 6 which is the number of words.
I type //echo -a $numtok(hello how are you doing today?,32)
Will also return 6.
On *:Text:*:#: {
echo -a $gettok($1-,0,32) words.
echo -a $numtok($1-,32) words.
echo -a $0 words.
}