Task: Program Execution
Input (English): Sentence: 'a man on with a hat on stands next to a horse'. Count the number of consonants in the given sentence.
Output (English): 21