#include<iostream>
#include<string>
#include<cctype>
using namespace std;
bool isVowel(char c){
    c=tolower(c);
    return(c=='a'||c=='e'||c=='i'||c=='o'||c=='u');
}
int main(){
    string s;
    if(!getline(cin,s)){
        return 0;
    }
    int count =0;
    for (int i=0;i< s.length;i++){
        if(isalpha(s[i])&&!isVowel(s[i])){
            count++;
        }
    }
    cout<<count<<endl;
    return 0;
}