Detailed Instructions: In this task, you need to count the number of times the given letter appears in the given sentence.
Problem:Sentence: 'a hummingbird flapping its wings while sitting on a branch'. Find frequency of the letter 'g'
Solution:
4