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

Input: Consider Input: Sentence: 'A man sleeping on a wooden bench next to a bag of luggage'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A parking meter in front of a car'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'People standing near an lake watching  a person fly a kite'. Count the number of verbs in this sentence.


Output: 2