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

Sentence: 'a blue and white fire hydrant and two cars parked across the street'. How many words contain the letter 'y' in the sentence.
1

Sentence: 'a silver television a black couch a table and some ceiling fans'. How many words contain the letter 's' in the sentence.
4

Sentence: 'closeup of a fork on a white and black plate'. How many words contain the letter 's' in the sentence.

1