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

Input: Consider Input: Sentence: 'a small black dog is playing with a green toy'. Count the number of nouns in this sentence.

Output: 2


Input: Consider Input: Sentence: 'a group of people walking beside a rail train'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'Two people stand with skis on a snowy mountain'. Count the number of nouns in this sentence.


Output: 3