Count vowels

Write codeEasy10 min

Your task

Given a lowercase string s, count how many characters are vowels. A vowel is one of 'a', 'e', 'i', 'o', 'u'. Return the total count. The string may be empty and contains only lowercase ASCII letters.

Examples

count_vowels(s: str) -> int
Example 1
Inputcount_vowels("hello")
Output2