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

Q: Sentence: 'a baseball player in the middle of a swing'. How many words contain the letter 'p' in the sentence.

A: 1
****
Q: Sentence: 'a man with baskets of goods stands next to his bicycle'. How many words contain the letter 'r' in the sentence.

A: 0
****
Q: Sentence: 'a white frosted doughnut with yellow sprinkles on it'. How many words contain the letter 'f' in the sentence.

A:
1
****