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

Sentence: 'a modern looking bathroom has a toilet and a sink'. How many words contain the letter 'o' in the sentence.
4

Sentence: 'a young skateboarder is performing tricks in a driveway'. How many words contain the letter 'd' in the sentence.
2

Sentence: 'a man on a bicycle transporting many branches of green bananas'. How many words contain the letter 'x' in the sentence.

0