Task: Program Execution
Input (English): Sentence: 'a batter is practicing his swing shirtless on a dirt lot'. Count the number of consonants in the given sentence.
Output (English): 31