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

Sentence: 'a man that is cutting a pizza that is on a stove'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a person holding up a smart phone in front of a singer'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'people pose for a photo on a baseball field with a sailor on the pitchers mound'. Count the occurrences of the word 'on' in the given sentence.

2