Refused on the web: @litert-lm/core counts a conversation's tokens (getTokenCount()), but exposes no tokenizer for a text.
@litert-lm/core
getTokenCount()
Future<List<int>> tokenize(String text) async => throw UnsupportedError(_noTokenizer);