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

Input: Consider Input: Sentence: 'A group of people having dinner and drinking wine'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'Two orange cats playing and fighting on a couch'. Count the number of nouns in this sentence.

Output: 2


Input: Consider Input: Sentence: 'a few men play drums in a big celebration'. Count the number of nouns in this sentence.


Output: 3