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

Sentence: 'cows crowd up to a barbed wire fence under a tree'. How many words contain the letter 'n' in the sentence.
2

Sentence: 'a bunch of people in a big field filled with bananas'. How many words contain the letter 'r' in the sentence.
0

Sentence: 'a couple of elephants standing next to each other'. How many words contain the letter 'r' in the sentence.

1