In this task, you need to count the number of words in a sentence that contain the given letter

Q: Sentence: 'a large dog curls up on the pillow on a bunk bed'. How many words contain the letter 't' in the sentence.

A: 1
****
Q: Sentence: 'a pizza with sauce cheese and sausage sitting on a table'. How many words contain the letter 's' in the sentence.

A: 4
****
Q: Sentence: 'a coffee mug filled with a tube of toothpaste and toothbrushes'. How many words contain the letter 's' in the sentence.

A:
2
****