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

Q: Sentence: 'two cakes on a table with a piece missing out of one'. How many words contain the letter 'h' in the sentence.

A: 1
****
Q: Sentence: 'a grey cat sitting in a metal kitchen sink next to cans of soda'. How many words contain the letter 't' in the sentence.

A: 6
****
Q: Sentence: 'a little girl in a pink velvet shirt mixes batter with an eggbeater'. How many words contain the letter 'r' in the sentence.

A:
4
****