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: 'A parking meter in front of a car'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'There are two giraffes under the large tree'. Count the number of nouns in this sentence.
Example Output:
2