Task: Program Execution
Input (English): Sentence: 'a brown bear trudges through thick grass and flowers'. Count the number of consonants in the given sentence.
Output (English): 31