code: def count_outliers(self, data, method, coeff, output, window=10):
          
          
          lowBound, highBound = self._calc_outliers_bounds(data, method, coeff, window)
          count = self.count_outOfBound(data, lowBound, highBound, output=output)
          return count
docs: Count the number of outliers in dataframe.
          
          Parameters
          ----------
          data        : pd.DataFrame()
              Input dataframe.
          method      : str
              Method to use for calculating the lower and higher bounds.
          coeff       : int
              Coefficient to use in calculation.
          output      : str
              Sting indicating the output of function (number or percent)
          window      : int
              Size of the moving window.
  
          Returns
          -------
          int/float
              Count of out of bounds data (int or float)