In this task, you need to count the occurrences of the given word in the given sentence.
--------
Question: Sentence: 'several boats parked near the rivers edge letting passengers off'. Count the occurrences of the word 'rivers' in the given sentence.

Answer: 1


Question: Sentence: 'a surfer is on the waves with a lighthouse in the background'. Count the occurrences of the word 'the' in the given sentence.

Answer: 2


Question: Sentence: 'a train is moving on a railroad track through a city'. Count the occurrences of the word 'a' in the given sentence.

Answer:
3