Definition: In this task, you need to count the number of times the given letter appears in the given sentence.
Input: Sentence: 'several people in a group are having a good time while two cakes are ready to be sliced'. Find frequency of the letter 'h'

2