EDIT: tokencount is the real answer, thanks
it did work, just didn't seem that elegant.
but the tokencount is also great!
also regexMatchCount worked at the exact number of symbols, instead of how many separations they provide.
I keep forgeting to check the manual, noob move, thanks everyone!