In this task, you need to count the number of times the given letter appears in the given sentence.
Sentence: 'an adult teaching a child to play tennis on an asphalt court'. Find frequency of the letter 'y'