Task: Program Execution
Input (English): Sentence: 'a polar bear under water with a plastic container'. Count the number of consonants in the given sentence.
Output (English): 24