Counting the number of tokens

counting the number of tokens