Task: Program Execution
Input (English): Sentence: 'a man lying on a bed, looking at himself in a mirror'. Count the number of consonants in the given sentence.
Output (English): 24