python count by x code example Example: How to see how many times somting is in a list python vowels = ['a', 'e', 'i', 'o', 'i', 'u'] count = vowels.count('i')