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

Q: Sentence: 'a man is surfing in a river while another person watches'. Count the occurrences of the word 'a' in the given sentence.

A: 2
****
Q: Sentence: 'giraffe with front legs spread looking at water'. Count the occurrences of the word 'legs' in the given sentence.

A: 1
****
Q: Sentence: 'a woman holds a furry dog by its leash'. Count the occurrences of the word 'a' in the given sentence.

A:
2
****