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

Q: Sentence: 'a child is lighting candles on a cake'. How many words contain the letter 't' in the sentence.

A: 1
****
Q: Sentence: 'a dog jumping up and catching a frisbee in its mouth'. How many words contain the letter 'r' in the sentence.

A: 1
****
Q: Sentence: 'a person in a helmet is wake boarding'. How many words contain the letter 'p' in the sentence.

A:
1
****