<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _pending_of(self, workload):
 """Return the number of pending tests in a workload."""

        pending = sum(list(scope.values()).count(False) for scope in workload.values())
        return pending