code: def _generate_aug_cnt(self, size, aug_min, aug_max, aug_p=None):
      if aug_p is not None:
          percent = aug_p
      elif self.aug_p:
          percent = self.aug_p
      else:
          percent = 0.3
      cnt = int(math.ceil(percent * size))
  
      if aug_min and cnt < aug_min:
          return aug_min
      if aug_max and cnt > aug_max:
          return aug_max
      return cnt
  
imports: import math
  import random
  import numpy
  import pandas
  from multiprocessing.dummy import Pool
  from nlpaug.util import Action, Method, WarningException, WarningName, WarningCode, WarningMessage
label_desc: Use image node_id 19 for calling the Augmenter obj's underlying member method code with example usage: obj._generate_aug_cnt(size, aug_min, aug_max, aug_p) and returns: cnt, aug_min, aug_max