In this task, you need to count the number of times the given letter appears in the given sentence.
Sentence: 'groups of bananas rest on the table with pineapples behind them'. Find frequency of the letter 'd'