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

Ex Input:
Sentence: 'a collection of furniture is in a living room'. Count the occurrences of the word 'a' in the given sentence.

Ex Output:
2

Ex Input:
Sentence: 'a baseball player rubs the sweat off his face while walking down the field'. Count the occurrences of the word 'the' in the given sentence.

Ex Output:
2

Ex Input:
Sentence: 'a trolley car is on a track in the middle of the road'. Count the occurrences of the word 'a' in the given sentence.

Ex Output:
2