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

Input: Consider Input: Sentence: 'A train on a track in the middle of a neighborhood'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A moose is standing out by a river'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A green bus driving filled with passengers on a narrow road'. Count the number of verbs in this sentence.


Output: 1