Task: Program Execution
Input (English): Sentence: 'a man swinging a bat while playing baseball'. Count the number of consonants in the given sentence.
Output (English): 23