code: def body_length(bytearray):
      """Return a body quoted-printable encoding length.
  
      :param bytearray: An array of bytes (a.k.a. octets).
      :return: The length in bytes of the byte array when it is encoded with
          quoted-printable for bodies.
      """
      return sum(len(_QUOPRI_BODY_MAP[octet]) for octet in bytearray)
  
file_path: cpython/Lib/email/quoprimime.py
imports: import re
  from string import ascii_letters, digits, hexdigits
label_desc: Use image node_id 4 for calling a global function with example usage: body_length(bytearray) and returns: sum