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

Input: Consider Input: Sentence: 'a man drinking from a glass standing next to a wine glass'. Count the occurrences of the word 'a' in the given sentence.

Output: 3


Input: Consider Input: Sentence: 'painting of a ship in grass with lighthouse in background'. Count the occurrences of the word 'in' in the given sentence.

Output: 2


Input: Consider Input: Sentence: 'couple of scissors hanging from painting frame as part of art'. Count the occurrences of the word 'of' in the given sentence.


Output: 2