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

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 man is riding a red motorcycle on the street'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'An arrangement of brightly-colored flowers in a vase'. Count the number of nouns in this sentence.


Output: 3