Task: Program Execution
Input (English): Sentence: 'the dog's face is in front of a truck behind a gate'. Count the number of consonants in the given sentence.
Output (English): 24