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

Sentence: 'a person taking a photo of a person brushing her teeth'. Count the occurrences of the word 'of' in the given sentence.
1

Sentence: 'a building with a gold steeple under a cloudy sky'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'nuts and dried fruits in a canister carrots and celery in another red grapefruit in yet another'. Count the occurrences of the word 'in' in the given sentence.

3