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

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

Ex Output:
2

Ex Input:
Sentence: 'a sign for a saab car dealership and cars surrounding it'. Count the occurrences of the word 'sign' in the given sentence.

Ex Output:
1

Ex Input:
Sentence: 'a white horse looking on as a picture is taken in a field'. Count the occurrences of the word 'a' in the given sentence.

Ex Output:
3