Task: Program Execution
Input (English): Sentence: 'a tennis player  on a court with a ball and racket'. Count the number of consonants in the given sentence.
Output (English): 24