class_docstr: Custom log formatter.
  
  Extends `colored.TTYColoredFormatter` by adding attributes
  to message arguments and coloring error traceback.
code: def _count_number_of_arguments_in_message(record: LogRecord) -> int:
      matches = re2.findall(r"%.", record.msg)
      return len(matches) if matches else 0
  
file_path: airflow/airflow/utils/log/colored_log.py
imports: from __future__ import annotations
  import sys
  from typing import TYPE_CHECKING, Any
  import re2
  from colorlog import TTYColoredFormatter
  from colorlog.escape_codes import esc, escape_codes
  from airflow.utils.log.timezone_aware import TimezoneAware
label_desc: Use image node_id 3 for calling the CustomTTYColoredFormatter obj's underlying member method code with example usage: obj._count_number_of_arguments_in_message(record) and returns: unknown