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

Input: Consider Input: Sentence: 'A red open fire hydrant spewing water from it'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A baseball player holding  bat while standing on a field'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A bear stands in front of a large fallen tree'. Count the number of nouns in this sentence.


Output: 3