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

[Q]: Sentence: 'a surfer is on the waves with a lighthouse in the background'. Count the occurrences of the word 'the' in the given sentence.
[A]: 2


[Q]: 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.
[A]: 4


[Q]: Sentence: 'kids smiling and showing sportsmanship after a little league game of baseball'. Count the occurrences of the word 'smiling' in the given sentence.
[A]:
1