    def count_processes_taken(self) -> int:
        """Count number of processes the task takes"""
        return sum(run.is_process and run.is_alive() for run in self._run_stack)
Count number of processes the task takes
rocketry/core/task.py