<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def count_delayed_jobs(cls, names):
 """ Return the number of all delayed jobs in queues with the given names """

        return sum([queue.delayed.zcard() for queue in cls.get_all(names)])