

def size(seq):
    size = (- 1)
    try:
        size = seq.count()
    except Exception:
        size = len(seq)
    return size

dataset/ETHPy150Open bartdag/recodoc2/recodoc2/apps/docutil/commands_util.py size/original