Task: Program Execution
Input (English): Sentence: 'a bear walking on all fours near a fence'. Count the number of consonants in the given sentence.
Output (English): 18