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

[EX Q]: Sentence: 'a dog is shown sitting on rocks by the beach'. Find frequency of the letter 'a'
[EX A]: 2

[EX Q]: Sentence: 'a teddy bear is sitting on a heart shaped patio chair outside'. Find frequency of the letter 'i'
[EX A]: 6

[EX Q]: Sentence: 'a bus is going down a road by large trees'. Find frequency of the letter 'd'
[EX A]:
2