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

Sentence: 'a woman sleeps in a bed with a pillow and sheet'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a female in a blue top is sitting on a white chair'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a man with a beer and another man with their arms around eachother'. Count the occurrences of the word 'with' in the given sentence.

2