vowels = ['a', 'e', 'i', 'o', 'i', 'u'] count = vowels.count('i')

Read more of this post