def METHOD_NAME(SCSIid):
    count = 0
    total = 0
    lines = mpath_cli.get_topology(SCSIid)
    for line in filter(match_dmpLUN, lines):
        total += 1
        if match_pathup(line):
            count += 1
    return (count, total)