In this task, you need to count the number of times the given letter appears in the given sentence.
Sentence: 'a smiling man stands beside a large bus with a compass on the side'. Find frequency of the letter 'd'