TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'on a road a person is going with an umbrellamany cars are also seen'. Count the occurrences of the word 'seen' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a man on a motorcycle riding by an old rundown town and an animal on the side of the road'. Count the occurrences of the word 'on' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a room with colorful blankets and several papers strewn across the floor'. Count the occurrences of the word 'with' in the given sentence.

SOLUTION:
1