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

Sentence: 'a pizza pie is on a wooden serving tray'. How many words contain the letter 's' in the sentence.
2

Sentence: 'a man with a hat on sitting in a car with the door open and a laptop on his lap'. How many words contain the letter 'e' in the sentence.
2

Sentence: 'a group of women standing at a bar holding wine glasses'. How many words contain the letter 'f' in the sentence.

1