Task: Program Execution
Input (English): Sentence: 'the baby is sitting by the window with a book'. Count the number of consonants in the given sentence.
Output (English): 24