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

Sentence: 'a row of red and blue trucks parked in a parking lot'. Count the occurrences of the word 'a' in the given sentence.
2

Sentence: 'a guitar case a backpack and a suitcase all placed next to each other'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a herd of cows looking at the person taking the picture'. Count the occurrences of the word 'the' in the given sentence.

2