consonantes impresas python

vowels = ("aeiou")
count = 0
for x in text:
    if not x in vowels:
        count += 1
MiataTony