code: def process_spawn_qty(self, name):
          
          return self.consumers[name].qty - self.process_count(name)
docs: Return the number of processes to spawn for the given consumer name.
  
          :param str name: The consumer name
          :rtype: int