In this task, you need to count the number of times the given letter appears in the given sentence.
Sentence: 'a couple is riding a motorcycle that is pulling a cart behind it'. Find frequency of the letter 'y'