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: 'Century old buildings stand near streets in a city'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A man and a woman are cuddling on a park bench'. Count the number of verbs in this sentence.


Output: 1