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

Sentence: 'a person on a beach flying a kite in the sky'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a herd of goats look at a dog through a fence'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'there is a water fountain in the park with water in it'. Count the occurrences of the word 'water' in the given sentence.

2