Task: Program Execution
Input (English): Sentence: 'a man walking barefoot behind a bird on the beach'. Count the number of consonants in the given sentence.
Output (English): 24