totalTokenCount

public abstract Optional<Integer> totalTokenCount()

The total number of tokens for the entire request. This is the sum of `prompt_token_count`, `candidates_token_count`, `tool_use_prompt_token_count`, and `thoughts_token_count`.