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

Input: Consider Input: Sentence: 'A man posing for a picture with a tie and suit on'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A man standing on a tennis court holding a tennis racquet'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A baseball player catches the ball as an opponent makes it on base'. Count the number of verbs in this sentence.


Output: 2