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

Input: Consider Input: Sentence: 'a couple people that are walking across the road'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A man and children are riding on the back of an elephant'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'Two brown cats laying on top of green pillows on a bed'. Count the number of nouns in this sentence.


Output: 4