def count_emotion(session):
    """
        Count number utterance per emotion for IEMOCAP session.

    Arguments
    ---------
        session: list
            List of utterance for IEMOCAP session.
    Returns
    -------
        dic: dict
            Number of example per emotion for IEMOCAP session.
    """
    dic = {
        "neu": 0,
        "hap": 0,
        "sad": 0,
        "ang": 0,
        "sur": 0,
        "fea": 0,
        "dis": 0,
        "fru": 0,
        "exc": 0,
        "xxx": 0,
    }
    for i in range(len(session)):
        if session[i][1] == "neu":
            dic["neu"] += 1
        elif session[i][1] == "hap":
            dic["hap"] += 1
        elif session[i][1] == "sad":
            dic["sad"] += 1
        elif session[i][1] == "ang":
            dic["ang"] += 1
        elif session[i][1] == "sur":
            dic["sur"] += 1
        elif session[i][1] == "fea":
            dic["fea"] += 1
        elif session[i][1] == "dis":
            dic["dis"] += 1
        elif session[i][1] == "fru":
            dic["fru"] += 1
        elif session[i][1] == "exc":
            dic["exc"] += 1
        elif session[i][1] == "xxx":
            dic["xxx"] += 1
    return dic