code: def n_waiting(self):
          
          return self._counters[JobStatus.no_job] +\
              self._counters[JobStatus.unknown] +\
              self._counters[JobStatus.not_ready] +\
              self._counters[JobStatus.ready]
docs: Return the number of jobs in various waiting states