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: 'A picture of a cat looking at its reflection in the water'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A man in a wet suit riding a surfboard on a wave'. Count the number of nouns in this sentence.


Output: 4