Cached token length in tokenizer