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

Q: Sentence: 'a dog is sleeping in a bed underneath a desk'. Count the occurrences of the word 'a' in the given sentence.

A: 3
****
Q: Sentence: 'a man who is performing a trick on a skateboard'. Count the occurrences of the word 'a' in the given sentence.

A: 3
****
Q: Sentence: 'a painting of cats playing tennis on a court'. Count the occurrences of the word 'court' in the given sentence.

A:
1
****