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

Sentence: 'a man with glasses a collar shirt and a tie on'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a menu in the middle of a fast food returant'. Count the occurrences of the word 'a' in the given sentence.
2

Sentence: 'a home made birthday card with a black chicken on it'. Count the occurrences of the word 'card' in the given sentence.

1