def get_workq_size(workq):
    """ workq is a list of FileChunks, we iterate each and summarize the size,
    which amounts to work to be done """
    if workq is None:
        return 0
    sz = 0
    for w in workq:
        sz += w.length
    return sz