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

Sentence: 'some zebras dirt plants and bushes'. How many words contain the letter 'r' in the sentence.
2

Sentence: 'a pair of tennis players on a tennis court'. How many words contain the letter 'u' in the sentence.
1

Sentence: 'a large white boat sits in the water outside'. How many words contain the letter 'x' in the sentence.

0