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

Input: Consider Input: Sentence: 'MAN AND WOMAN IN WINERY WITH BOTTLES OF WINE AND GLASSES'. Count the number of nouns in this sentence.

Output: 2

Input: Consider Input: Sentence: 'Street signs with a cartoon policeman in Shanghai'. Count the number of verbs in this sentence.

Output: 0

Input: Consider Input: Sentence: 'A table with a circular designed table cloth and a wine glass on the table next to a brown colored bottle'. Count the number of verbs in this sentence.
Output: 1