def __updateProcessCounter(self):
newcounter = <NUM_LIT:0><EOL>for job in self.__procs:<EOL><INDENT>if job.is_alive():<EOL><INDENT>newcounter+=<NUM_LIT:1><EOL><DEDENT><DEDENT>self.__numRunningProcs = newcounter<EOL>return newcounter<EOL>
Function that iterates through the running Processes
        and counts the number of processes that are currently alive.
        Sets numRunningProcs to this count