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

Input: Consider Input: Sentence: 'A yellow fire hydrant sitting at the top of a green hill'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'a group of people playing soccer on a field of grass'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'Two men are talking to each other while holding a skateboard'. Count the number of nouns in this sentence.


Output: 2