words = ["hello", "world", "python"] result = [char for word in words for char in word if char in 'aeiou'] print(len(result))
3
4
5
6