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

[Q]: Sentence: 'an elephant has taken a man's hat in its trunk'. Find frequency of the letter 'p'
[A]: 1


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


[Q]: Sentence: 'a man rows a boat with oars past a dock'. Find frequency of the letter 'c'
[A]:
1