In this task, you need to count the number of words in a sentence that end with the given letter. Answer with numbers and not words.

Sentence: 'boat moving out on water with light house at end of wharf'. How many words end with the letter 'f' in the sentence.
2

Sentence: 'the man wearing a hat and sun glasses is sitting under an umbrella'. How many words end with the letter 'd' in the sentence.
1

Sentence: 'a man is attempting to bring his bicycle on the train'. How many words end with the letter 'g' in the sentence.

2