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

Sentence: 'a white plate of food including rice and vegetables with beef'. How many words contain the letter 'o' in the sentence.
2

Sentence: 'some brown and white goats and a man on some grass'. How many words contain the letter 'o' in the sentence.
5

Sentence: 'an advertisement for a snowboarding with people wearing gear on it'. How many words contain the letter 'd' in the sentence.

2