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

Sentence: 'two animals are walking along in a field'. How many words contain the letter 'y' in the sentence.
0

Sentence: 'a cat in a tie sits on the couch'. How many words contain the letter 't' in the sentence.
4

Sentence: 'the room has all different kinds of blue decor'. How many words contain the letter 'n' in the sentence.

2