code: def header_quopri_len(s):
      """Return the length of str when it is encoded with header quopri."""
      count = 0
      for c in s:
          if hqre.match(c):
              count += 3
          else:
              count += 1
      return count
  
file_path: catboost/contrib/tools/python/src/Lib/email/quoprimime.py
imports: import re
  from string import hexdigits
  from email.utils import fix_eols
label_desc: Use image node_id 3 for calling a global function with example usage: header_quopri_len(s) and returns: count