Task: Program Execution
Input (English): Sentence: 'a bird is perched up on a leafy plant'. Count the number of consonants in the given sentence.
Output (English): 18