TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'a keyboard that has some lego men on  it'. Count the number of nouns in this sentence.

SOLUTION: 2

PROBLEM: Sentence: 'An open refrigerator in a home in disrepair'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'A Rawlings official major league baseball is in a mitt'. Count the number of nouns in this sentence.

SOLUTION:
3