Task: Program Execution
Input (English): Sentence: 'a black and white dog with a christmas hat on'. Count the number of consonants in the given sentence.
Output (English): 24