Task: Program Execution
Input (English): Sentence: 'a close-up of a black cow in front of a metal fence'. Count the number of consonants in the given sentence.
Output (English): 23