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

[EX Q]: Sentence: 'a beautiful woman playing with a small green bird'. How many words contain the letter 't' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'a man rides a black motorcycle around a curve'. How many words contain the letter 'y' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a camera some buildings some men and a motorcycle'. How many words contain the letter 't' in the sentence.
[EX A]:
1