def schedd_states(schedd_classad):
    """
    Returns information about the number of jobs in each job state for a schedd

    :param schedd_classad: classad for schedd to query
    :return: a dictionary with job states as keys and number of jobs in
             given state as a value
    """
    return {'Running': schedd_classad['TotalRunningJobs'],
            'Idle': schedd_classad['TotalIdleJobs'],
            'Held': schedd_classad['TotalHeldJobs'],
            'Removed': schedd_classad['TotalRemovedJobs']}