In this task, you need to count the number of times the given letter appears in the given sentence.
Sentence: 'a man sets up a large flag on the beach while people look on'. Find frequency of the letter 'a'