In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'A bed in a bedroom with a heart shaped box on it'. Count the number of verbs in this sentence.

Answer: 1


Question: Sentence: 'A parked blue bike with a red umbrella buckled on the body'. Count the number of verbs in this sentence.

Answer: 2


Question: Sentence: 'A dog stretching on a ledge near water'. Count the number of nouns in this sentence.

Answer:
3