Task: Program Execution
Input (English): Sentence: 'a bird perched on a bench by a wall'. Count the number of consonants in the given sentence.
Output (English): 18