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

[Q]: Sentence: 'a train on the side of a road on the edge of the water'. How many words contain the letter 'u' in the sentence.
[A]: 0


[Q]: Sentence: 'a kitchen filled with appliances and furniture next to windows'. How many words contain the letter 'p' in the sentence.
[A]: 1


[Q]: Sentence: 'the horse attached to a carriage has stopped to drink water'. How many words contain the letter 'w' in the sentence.
[A]:
1