Task: Program Execution
Input (English): Sentence: 'a tan dog standing on a sidewalk next to a lampost and grass'. Count the number of consonants in the given sentence.
Output (English): 31