how to count things in a list python
# How to use the .count function:
list = ["Elefant", "Snake", "Penguin", "Penguin"]
print(list.count("Penguin"))
# Explanation:
# >(list name) + .count + (element)<
# With the '.count' function Python counts how many of the elements you named are in the list.
# In this case the output is '2' because The element 'Penguin' appears twice in the list.