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

Example Input: Sentence: 'A couple of horses standing in the middle of a road'. Count the number of nouns in this sentence.
Example Output: 4

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: 'Two guys wearing glasses playing a game with the Wii remote controllers'. Count the number of nouns in this sentence.
Example Output:
4