text = 'We are having a great time in polisinos. There are very smart students'

#var to count number of vowels
count_vowels = 0

#in each letter of the string if letter is vowel increment counter

for letter in text:
        if letter == 'a' or letter == 'e' or letter == 'i' or letter == 'o' or letter == 'u':
             count_vowels += 1
             elif letter not in ['','w','r','h','v','n','g','t','m','n','p','l','s','n','y','d']
             count_consonants = count_consonants + 1

        print('Number of consonants in text is:' + str(count_consonants))  
        print('Number of vowels in text is:' + str(count_vowels))


