I am looking to write a program where I enter a word or a phrase and it counts the number of vowels in the input and then returns how many of each vowel there is. I have done this, but my code is very long and I want to know how I can write it more efficiently.
How can I reduce the amount of for loops I use?
text = input("enter string:")
vowels = ["a","e","i","o","u"]
count = 0
for letters in text:
    if letters in vowels:
        count = count + 1
print ("vowel count is:",count)
numA = 0
numE = 0
numI = 0
numO = 0
numU = 0
for a in text:
    if a in "a":
        numA = numA + 1
for e in text:
    if e in "e":
        numE = numE + 1
for i in text:
    if i in "i":
        numI = numI + 1
for o in text:
    if o in "o":
        numO = numO + 1
for u in text:
    if u in "u":
        numU = numU + 1
print ("a occurs",numA)
print ("e occurs",numE)
print ("i occurs",numI)
print ("o occurs",numO)
print ("u occurs",numU)