def count_occurrences_in_list(list_values, searched_value):
    """ Counts occurrences of a searched value in a given list.
    
    Arguments:
    - list_values   : The original list of values (int or string).
    - searched_value: The searched value (int or string).
    
    Output:
    - nb_occur      : The number of occurrences in the list.
    """
    
    nb_occur = 0
    for value in list_values:
        if value == searched_value:
            nb_occur += 1
    return nb_occur