Task: Program Execution
Input (English): Sentence: 'dog and cat on bed in black and white photo'. Count the number of consonants in the given sentence.
Output (English): 22