TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A cat sitting next to a pair of legs on the ground'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'a close up of a person holding a sandwich'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'The bathroom sink and medicine cabinet in a house'. Count the number of nouns in this sentence.

SOLUTION:
5