Task: Program Execution
Input (English): Sentence: 'a dog sleeping on top of a bed in a bedroom'. Count the number of consonants in the given sentence.
Output (English): 18