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

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

[EX Q]: Sentence: 'horses standing and laying down in the grass on a hill above a lake'. How many words contain the letter 'g' in the sentence.
[EX A]: 3

[EX Q]: Sentence: 'the beds in this bedroom are placed side by side one another'. How many words contain the letter 'm' in the sentence.
[EX A]:
1