Task: Program Execution
Input (English): Sentence: 'a view of a dog laying in a bed'. Count the number of consonants in the given sentence.
Output (English): 12