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: 'Adults with a baby and two cakes on a table'. Count the number of verbs in this sentence.

Output: 0


Input: Consider Input: Sentence: 'A view of the capitol building, in front of a park'. Count the number of verbs in this sentence.


Output: 0