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: 'Century old buildings stand near streets in a city'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'Two double A batteries sit next to a Nintendo Wii remote'. Count the number of nouns in this sentence.


Output: 2