Definition: In this task, you need to count the number of times the given letter appears in the given sentence.
Input: Sentence: 'a cat on the back of a maroon chair waving its paw at a dog sitting in the seat part of the chair'. Find frequency of the letter 'i'

7