pub trait Tokenizer: Send + Sync + 'static { // Required method fn count(&self, text: &str) -> usize; }
Counts approximate tokens for a string.
Returns the estimated token count.