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

Sentence: 'a stop sign with some words beneath it'. How many words contain the letter 't' in the sentence.
4

Sentence: 'a man holding an owl in a lush green field'. How many words contain the letter 'y' in the sentence.
0

Sentence: 'a stop sign cars trees and some buildings'. How many words contain the letter 'g' in the sentence.

2