are you trying to have the same method counting both consonants and vowels? this method you provided does not return the number of vowels. it does count the number of vowels, but it does not return it.
ok nevermind i fixed it by editing the consNum() method to accept an argument which is the number of vowels (provided from the vowelsNum() method), and it works that way.
but i still don't understand why the original method didn't work. the consNums() method only returns the number of consonants and NOT the number of vowels (that's the vowelsNum method's job). i intended for it to just calculated the # of vowels, so it can figure out the # of consonants.