Task: Program Execution
Input (English): Sentence: 'a fondant birthday cake with yarn and knitting needles'. Count the number of consonants in the given sentence.
Output (English): 31