code: def count_max_peaks(array: np.ndarray) -> (float, int):
      max_value = np.abs(array).max()
      max_count = np.count_nonzero(
          np.logical_or(
              np.isclose(array, max_value),
              np.isclose(array, -max_value),
          )
      )
      return max_value, max_count
  
imports: import numpy
  import statsmodels.api
label_desc: Use image node_id 7 for calling a global function with example usage: count_max_peaks(array) and returns: max_value,  max_count