code: def count_jobs_to_dequeue(self):
          
  
          # timed ZSET
          if self.is_timed:
              return context.connections.redis.zcount(
                  self.redis_key,
                  "-inf",
                  time.time())
  
          # In all other cases, it's the same as .size()
          else:
              return self.size()
docs: Returns the number of jobs that can be dequeued right now from the queue.