#include<stdio.h> #include<string.h> int main(){ int t,i,n; char s[60]; scanf("%d",&t); while(t--){ n=0; scanf("%s",s); for(i=0;i<strlen(s);i++){ if(s[i]=='a'||s[i]=='e'||s[i]=='i'||s[i]=='o'||s[i]=='u') n++; } printf("%d\n",n); } }