docstr: Cohere charges by the number of characters in the completion, but first, compute
  the max number of tokens are in the output.
docstr_tok: ["Cohere","charges","by","the","number","of","characters","in","the","completion",",","but","first",",","compute","the","max","number","of","tokens","are","in","the","output","."]
code: def estimate_tokens(
      self, request: Request, metric_service: MetricService
  ) -> int:
      """
      Cohere charges by the number of characters in the completion, but first, compute
      the max number of tokens are in the output.
      """
      return request.num_completions * request.max_tokens
  
imports: from helm.benchmark.metrics.metric_service import MetricService
  from helm.common.request import Request
  from .token_cost_estimator import TokenCostEstimator
label_desc: Use image node_id 1 for calling the CohereTokenCostEstimator obj's underlying member method code with example usage: obj.estimate_tokens(request, metric_service) and returns: unknown