code: def body_quopri_len(str):
      """Return the length of str when it is encoded with body quopri."""
      count = 0
      for c in str:
          if bqre.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 4 for calling a global function with example usage: body_quopri_len(str) and returns: count