TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A man in a diner holding two baskets of sandwiches'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'a keyboard that has some lego men on  it'. Count the number of nouns in this sentence.

SOLUTION: 2

PROBLEM: Sentence: 'An airplane parked inside an airplane hangar at night'. Count the number of verbs in this sentence.

SOLUTION:
1