Task: Program Execution
Input (English): Sentence: 'a group of people varied in ages are riding in a toy train'. Count the number of consonants in the given sentence.
Output (English): 24