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

Sentence: 'a baseball themed birthday cake is on a serving tray'. Find frequency of the letter 'g'
1

Sentence: 'a plastic container next to a toilet on a wooden box'. Find frequency of the letter 'i'
3

Sentence: 'a black and white train passing near a red and white gate'. Find frequency of the letter 'p'

1