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

Example Input: Sentence: 'a nick knack of a dog a coffee cup and a tray of food'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 4

Example Input: Sentence: 'two people on a motorcycle a man with baskets on a push cart'. Count the occurrences of the word 'two' in the given sentence.
Example Output: 1

Example Input: Sentence: 'a person is looking out the window at the airport'. Count the occurrences of the word 'looking' in the given sentence.
Example Output:
1