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

Input: Consider Input: Sentence: 'A modern living room with a couch and tv'. Count the number of nouns in this sentence.

Output: 4


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 gray air force airplane is on the runway'. Count the number of nouns in this sentence.


Output: 4