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

Input: Consider Input: Sentence: 'A passenger train going by on the tracks'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'Two people riding a surfboard in the open waves'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'a computer monitor, keyboard, and mouse sit on a table'. Count the number of nouns in this sentence.


Output: 5