Program that counts how many consonants are in an entered string