from typing import Counter


def majority_count(class_list):
    """
    Take a list of class names;
    return the one
    with the greatest frequency
    """
    class_count = Counter(class_list)
    return class_count.most_common()[0][0]