charmxi: add -count-tokens command line option