In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'A person is walking down the beach holding a surfboard'. Count the number of nouns in this sentence.

Answer: 3


Question: Sentence: 'A lady riding a rodeo horse preparing to round a barrel'. Count the number of nouns in this sentence.

Answer: 4


Question: Sentence: 'A fire hydrant painted yellow on a street curb'. Count the number of nouns in this sentence.

Answer:
4