Definition: In this task, you need to count the number of times the given letter appears in the given sentence.
Input: Sentence: 'a white cat sits on a cat tree while a black cat sits on a chair and both cats look out of a window'. Find frequency of the letter 'c'

6