Definition: In this task, you need to count the number of times the given letter appears in the given sentence.
Input: Sentence: 'two cows in a pen eat hay on a farm'. Find frequency of the letter 'w'

2