Token counting result with metadata.
Number of tokens
Whether the result was from cache
Provider used for counting
Optional
Model used (if applicable)
Token counting result with metadata.