Ahh, okay. Thanks, again argy0. I'm sure I can make a script to do what I want. I just didn't understand why $numtok wasn't picking up all the same characters together, but I do now.
Ah, I think you misunderstood what tokens are. If you simply want to count the number of '-' (hyphen) characters in some text, you can use: