code: def available_cpu_count() -> int:
      """Returns number of CPUs in the system."""
      try:
          return multiprocessing.cpu_count()
      except NotImplementedError:
          pass
      warnings.warn(
          "Could not get CPU count. Assuming one (1) CPU. Use -j N to set manually."
      )
      return 1
  
imports: from __future__ import annotations
  import logging
  import multiprocessing
  import os
  import shutil
  import warnings
  from collections.abc import Iterable, Sequence
  from contextlib import suppress
  from decimal import Decimal
  from io import StringIO
  from math import isclose, isfinite
  from pathlib import Path
  from statistics import harmonic_mean
  from typing import Any, Callable, Generic, TypeVar
  import img2pdf
  import pikepdf
label_desc: Use image node_id 6 for calling a global function with example usage: available_cpu_count() and returns: int, multiprocessing