Task: Program Execution
Input (English): Sentence: 'an unpainted train drives away from a large city'. Count the number of consonants in the given sentence.
Output (English): 24