Counts the tokens in text using the configured encoder.
text
int countTokens(String text, {String? model}) => _encoder.count(text);