there are probably better ways to do this, but i made this of it:
Code:
$ [ $+ [ $calc($findtok($1-,theword,1,32) +1) ] ]