Task: Program Execution
Input (English): Sentence: 'a train that is sitting on a track near a building'. Count the number of consonants in the given sentence.
Output (English): 24