In this task, you need to count the occurrences of the given word in the given sentence.

Input: Consider Input: Sentence: 'a small bird perched on a branch in a tree'. Count the occurrences of the word 'a' in the given sentence.

Output: 3


Input: Consider Input: Sentence: 'a girl is sitting on a bus with her knees up'. Count the occurrences of the word 'a' in the given sentence.

Output: 2


Input: Consider Input: Sentence: 'males and females tasting several wines and beverages'. Count the occurrences of the word 'and' in the given sentence.


Output: 2