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: 'a messy room with clothes and a computer'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'Hummingbird in flight looking at feeder in daylight'. Count the number of nouns in this sentence.


Output: 3