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

Input: Consider Input: Sentence: 'A person sitting on a couch with a laptop'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A woman wearing glasses with a cat on her neck'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A diner with large pepsi signs on the front of it'. Count the number of nouns in this sentence.


Output: 4