class_docstr: This counts how many instances of each formatter
  "replacement string" appear in the format string.
  
  e.g. after evaluating "string {a}, {b}, {c}, {a}"
       the counts dict would now look like
       {'a': 2, 'b': 1, 'c': 1}
class_docstr_tok: ["This","counts","how","many","instances","of","each","formatter","''","replacement","string","''","appear","in","the","format","string",".","e.g",".","after","evaluating","``","string","{","a","}",",","{","b","}",",","{","c","}",",","{","a","}","''","the","counts","dict","would","now","look","like","{","'","a","'",":","2",",","'","b","'",":","1",",","'","c","'",":","1","}"]
code: def get_value(
      self, key: str, args: object, kwargs: object  # type: ignore[override]
  ) -> Literal[""]:
      self.counts[key] += 1
      return ""
  
file_path: cpython/Tools/clinic/libclinic/utils.py
imports: import collections
  import hashlib
  import os
  import re
  import string
  from typing import Literal
label_desc: Use image node_id 2 for calling the FormatCounterFormatter obj's underlying member method code with example usage: obj.get_value(key, args, kwargs) and returns: str