In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'The bathroom in the home was just cleaned'. Count the number of verbs in this sentence.

Answer: 1


Question: Sentence: 'A person holding a bottle while riding a skateboard'. Count the number of verbs in this sentence.

Answer: 2


Question: Sentence: 'A man flying through the air while riding a skateboard'. Count the number of verbs in this sentence.

Answer:
2