def countGlideinsCondorStatus(status_dict):
    """Return the number of glideins in the dictionary

    :param status_dict: the output of getCondorStatus
    :return: number of glideins in the dictionary (integer)

    A Glidein is an execution of the glidein_startup.sh script
     - may be different from job submitted by the factory (for multinode jobs - future)
     - is different from a slot (or schedd or vm)
    It defines GLIDEIN_MASTER_NAME which is the part after '@' in the slot name
    Sets from different collectors are assumed disjunct
    """
    count = 0
    for collector_name in status_dict:
        slots_dict = status_dict[collector_name].fetchStored()
        count += len({i.split("@", 1)[1] for i in list(slots_dict.keys())})
    return count