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: 'A view of a laptop being held by someone laying in bed'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A small vespa parked on a city sidewalk'. Count the number of nouns in this sentence.


Output: 3