count consonants solution and test

count consonants solution and test