Does not seem possible on the fly. The only solution that works is breaking down the sentences to words in load time and then use this second table to count occurrences, something like this.
PurgeChar(Comment, ',()#"-1234567890') as TextLine
LOAD ID, lower(SubField(TextLine,' ')) as Word
then in charts use count() of words.