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

Sentence: 'a sign that shows you are entering into joshua tree national park'. How many words contain the letter 't' in the sentence.
5

Sentence: 'a person that is flying a hamburger kite'. How many words contain the letter 'b' in the sentence.
1

Sentence: 'smooth top stove with exhaust fan that has light turned on'. How many words contain the letter 'r' in the sentence.

1