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

[EX Q]: Sentence: 'a small boat travels on the water next to the shore'. Find frequency of the letter 'a'
[EX A]: 5

[EX Q]: Sentence: 'this marketplace has a lot of fresh fruit and vegetables'. Find frequency of the letter 'v'
[EX A]: 1

[EX Q]: Sentence: 'a stop sign a street some trees grass and buildings'. Find frequency of the letter 't'
[EX A]:
4