Task: Program Execution
Input (English): Sentence: 'a man in a cowboy hat attempts to throw a disc shaped object'. Count the number of consonants in the given sentence.
Output (English): 31