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: 'people walking down the sidewalk with no turn signs'. How many words contain the letter 'e' in the sentence.
3

Sentence: 'a man riding a wave on a surfboard in the ocean'. How many words contain the letter 'g' in the sentence.

1