Task: Program Execution
Input (English): Sentence: 'an advertising poster in the corner of a window'. Count the number of consonants in the given sentence.
Output (English): 24