Behaviour for counting tokens in message content.
Implementations provide a heuristic or API-based token count used by memory strategies to enforce token budgets.
Summary
Callbacks
@callback count_tokens(content :: String.t() | nil, opts :: keyword()) :: non_neg_integer()