In this task, you need to count the number of times the given letter appears in the given sentence.

Sentence: 'a player swings his bat at a baseball game'. Find frequency of the letter 'p'
1

Sentence: 'a table topped with a cupcake on a picture of a cupcake'. Find frequency of the letter 'o'
3

Sentence: 'three horses grazing by a lake with a mountain in the distance'. Find frequency of the letter 'l'

1