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

Example Input: Sentence: 'The street sign for Ronald Reagan Allee in Berlin'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'row of colored umbrellas next to a body of water'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'Two yellow plates have a red bird on them while one has a yellow bird on it'. Count the number of nouns in this sentence.
Example Output:
3