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

Sentence: 'a silver truck a street a person and buildings'. How many words contain the letter 'l' in the sentence.
2

Sentence: 'a young man attempting to fly a kite on a forest hillside'. How many words contain the letter 'f' in the sentence.
2

Sentence: 'a young kid with a bat swings at a ball'. How many words contain the letter 'u' in the sentence.

1