In this task, you need to count the number of times the given letter appears in the given sentence.
Sentence: 'dog, possibly beagle, on black office chair with separate leg rest'. Find frequency of the letter 'i'