In this task, you need to count the number of times the given letter appears in the given sentence.
Sentence: 'a train passing under a bridge in the middle of a field'. Find frequency of the letter 'r'