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

Sentence: 'there is a man drinking whine from a glass'. Count the occurrences of the word 'a' in the given sentence.
2

Sentence: 'a small child takes a bite of a donut'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'two women pose with their tennis rackets one woman in western garb one in islamic dress'. Count the occurrences of the word 'in' in the given sentence.

2