def number_of_processing_tasks(client):
    return sum(len(v) for k, v in client.processing().items())
def number_of_processing_tasks(client):
    return sum(len(v) for k, v in client.processing().items())