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

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

Example Input: Sentence: 'A clear view display refrigerator lined with bottles of beer'. Count the number of nouns in this sentence.
Example Output: 5

Example Input: Sentence: 'A pastry rack, a glass display of pasties and a shelf of cookie jar on a shelf above in a bakery'. Count the number of verbs in this sentence.
Example Output:
0