Task: Program Execution
Input (English): Sentence: 'a man tending to animals inside a barn'. Count the number of consonants in the given sentence.
Output (English): 18