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

Sentence: 'a ram standing still in an empty pasture'. How many words contain the letter 'x' in the sentence.
0

Sentence: 'a construction worker smashes away at the roof of a building'. How many words contain the letter 'b' in the sentence.
1

Sentence: 'a man holding a halfeaten donut outside somewhere'. How many words contain the letter 'z' in the sentence.

0