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

Q: Sentence: 'a man sitting on a bench in a lobby'. Count the occurrences of the word 'a' in the given sentence.

A: 3
****
Q: Sentence: 'two elderly ladies in a house with a dog'. Count the occurrences of the word 'with' in the given sentence.

A: 1
****
Q: Sentence: 'a young man wearing a pink shirt walking past a very tall wall'. Count the occurrences of the word 'a' in the given sentence.

A:
3
****