Task: Program Execution
Input (English): Sentence: 'a person riding a horse with a flag'. Count the number of consonants in the given sentence.
Output (English): 17