Task: Program Execution
Input (English): Sentence: 'a cat on a counter and a dog on the ground in a kitchen'. Count the number of consonants in the given sentence.
Output (English): 24