code: def infer_process_count(self):
          '''Infers the number of CPU cores in the current system, sets the
          number of concurrent processes accordingly
          '''
  
          try:
              self.processes = multiprocessing.cpu_count()
          except NotImplementedError:
              self._logger.log(
                  'error',
                  'Could infer CPU count, setting number of processes back to 4'
              )
              self.processes = f infer_process_count(self):
          '''Infers the number of CPU cores in the current system, sets the
          number of concurrent processes accordingly
          '''
  
          try:
              self.processes = multiprocessing.cpu_count()
          except NotImplementedError:
              self._logger.log(
                  'error',
                  'Could infer CPU count, setting number of processes back to 4'
              )
              self.processes = 4
docs: Infers the number of CPU cores in the current system, sets the
          number of concurrent processes accordingly