Task: Program Execution
Input (English): Sentence: 'a child baseball player tries to hit the ball'. Count the number of consonants in the given sentence.
Output (English): 24