While self studying nested loop I came across an exercise that I really need help with. The code counts vowels in names from a list and are put into a new list once outer loop finishes. Here is my code:

```
def get_list_of_vowel_count(name_list):

    vowels = "aeiouAEIOU"

    count_list = []
    count = 0
    for name in name_list:
        for i in range(len(vowels)):
            if vowels[i] in name:
                count += 1
        count_list += [count]
        count = 0

    return count_list

def main():

    name_list = ["Mirabelle", "John","Kelsey","David","Cindy","Dick","aeeariiiosoisduuus"] 
    vowel_counts = get_list_of_vowel_count(name_list)
    print(vowel_counts)

main()

```

output:

`[3, 1, 1, 2, 1, 1, 5]`

My code doesn't count well.. for instance, vowels in a name `Kelsey` contains 2 `e` but it only counts 1. I think `range(len(vowels))` could be the problem but I am not quite sure.I tried researching on similar topics on SO database but could not find what I was searching for. Please help me write this code correctly. Thank you very much. 

ps. using python 3.5