Task: Program Execution
Input (English): Sentence: 'the surfer is attempting to ride the wave'. Count the number of consonants in the given sentence.
Output (English): 21