<bos><start_of_turn>system
You are a helpful AI assistant.
lista de codigos linguisticos disponibles: ["fr", "de"].<end_of_turn>
<start_of_turn>user
Comment compter les occurrences d’un élément spécifique dans une liste ?<end_of_turn>
<start_of_turn>model
def count_occurrences(lst, element):
    lst.count(element) zurückgeben

my_list = [1, 4, 2, 4, 5, 4]
print(count_occurrences(my_list, 4)) # Ausgabe: 3<end_of_turn><eos>