In this task, you need to count the number of nouns/verbs in the given sentence.

Input: Consider Input: Sentence: 'A orange bus driving down the street carrying passengers'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A cat laying on top of a bench wearing a collar'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A train traveling down train tracks near a loading platform'. Count the number of verbs in this sentence.


Output: 1