Write a function that finds the number (or total count) of each vowel in a string. Vowels in English are "a", "e", "i", "o", and "u" code example
Example: count vowels
vow = ['a', 'A', 'e',
'E', 'i', 'I',
'o', 'O', 'U',
'u', 'Y', 'y']
def vowels(str):
global vow
string = list(str)
count = 0
for i in range(len(string)):
if string[i] in vow:
count += 1
return count