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

Input: Consider Input: Sentence: 'Two people with dogs walking by a modern building in a city'. Count the number of nouns in this sentence.

Output: 4


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: 'A man holding a tennis racquet on top of a tennis court'. Count the number of nouns in this sentence.


Output: 6