code: def output_indexes_len(output_indexes):
      if output_indexes.startswith("max("):
          return int(output_indexes[4:-1])
      elif output_indexes.startswith("min("):
          return int(output_indexes[4:-1])
      elif output_indexes.startswith("max(abs("):
          return int(output_indexes[8:-2])
      elif not isinstance(output_indexes, str):
          return len(output_indexes)
  
file_path: shap/shap/explainers/_partition.py
imports: import queue
  import time
  import numpy
  from numba import njit
  from tqdm.auto import tqdm
  from ..None import Explanation, links
  from ..models import Model
  from ..utils import MaskedModel, OpChain, make_masks, safe_isinstance
  from ._explainer import Explainer
label_desc: Use image node_id 1 for calling a global function with example usage: output_indexes_len(output_indexes) and returns: int, int, int, len