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

Input: Consider Input: Sentence: 'a gray bird about to perch on a branch'. Count the occurrences of the word 'a' in the given sentence.

Output: 2


Input: Consider Input: Sentence: 'a cat with a pensive look guarding its plate by a computer'. Count the occurrences of the word 'a' in the given sentence.

Output: 3


Input: Consider Input: Sentence: 'a living room with chairs and a fireplace and a stair case'. Count the occurrences of the word 'a' in the given sentence.


Output: 3