code: def count_above_mean(X):
      """Numba count above mean for a 1d numpy array.
  
      Parameters
      ----------
      X : 1d numpy array
          A 1d numpy array of values
  
      Returns
      -------
      mean_crossing_count : float
          The count above mean of the input array
      """
      m = mean(X)
      d = X > m
      count = 0
      for i in range(d.shape[0]):
          if d[i] != 0:
              count += 1
      return count
  
imports: from sktime.utils.validation._dependencies import _check_soft_dependencies
  import numpy
  import sktime.utils.numba.general
  from sktime.utils.numba.njit import njit
label_desc: Use image node_id 5 for calling a global function with example usage: count_above_mean(X) and returns: count