def count_fixxations(fixxations):
    """
    A Function that counts the number of distinct fixxations

    :param fixxations:  a list with values which indicate if the move from the previos is a fixxations.
    :return:            a number of indicating the amount of different fixxations
    """
    fixxations_count = 0
    is_currently = False
    for value in fixxations:
        if value == 1 and is_currently == False:
            fixxations_count += 1
            is_currently = True
        if value == 0 and is_currently == True:
            is_currently = False
    return fixxations_count