from typing import Counter


def get_classes_count(args):
    """
    Return dict with {frame_id : #frame_id}.

    Args:
        args: list of arguments to count
    Returns:
        dict with {frame_id : #frame_id}
    """

    classes = []
    counter = Counter()

    for arg in args:
        classes.append(arg.frame_id)
        counter[arg.frame_id] += 1

    return counter