Task: Program Execution
Input (English): Sentence: 'a small child smiles while laying in a bed'. Count the number of consonants in the given sentence.
Output (English): 22