17
C++ 8 lines
string s = "Programming";
int count = 0;
for(char c : s){
    c = tolower(c);
    if(c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u')
        count++;
}
cout << count; // 3