In this task, you need to count the number of times the given letter appears in the given sentence.

Q: Sentence: 'a train is sitting at a train station'. Find frequency of the letter 'r'

A: 2
****
Q: Sentence: 'a photo of a small boat on a shore'. Find frequency of the letter 'f'

A: 1
****
Q: Sentence: 'a man riding a horse down the beach at sunset'. Find frequency of the letter 'i'

A:
2
****