def count_disk(disks):
    """
        Count disks with partition table; Return Nr of disks
    """
    nr = 0
    for disk in disks:
        if disks[disk]['partitions']:
            nr += 1
    return nr