Task: Program Execution
Input (English): Sentence: 'two small dogs running in the water on a beach'. Count the number of consonants in the given sentence.
Output (English): 24