In this task, you need to count the number of times the given letter appears in the given sentence.
Sentence: 'a semi-truck is painted with purple graphics and has a red trailer bed'. Find frequency of the letter 'p'