Task: Program Execution
Input (English): Sentence: 'a woman riding a horse while holding a flag'. Count the number of consonants in the given sentence.
Output (English): 21