Definition: In this task, you need to count the number of times the given letter appears in the given sentence.
Input: Sentence: 'a girl in a green shirt and hat being defended by a girl in a white dress while playing frisbee'. Find frequency of the letter 'r'

6