In this task, you need to count the number of words in a sentence that contain the given letter
--------
Question: Sentence: 'several people and a dog riding on a small boat'. How many words contain the letter 'l' in the sentence.

Answer: 3

Question: Sentence: 'a white sand beach with chairs umbrellas and people'. How many words contain the letter 't' in the sentence.

Answer: 2

Question: Sentence: 'a man operates a machine in a textile factory'. How many words contain the letter 'y' in the sentence.

Answer:
1