Task: Program Execution
Input (English): Sentence: 'an animal looking through the grates of a gate'. Count the number of consonants in the given sentence.
Output (English): 22