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

Example Input: Sentence: 'City lights along a city road at night shining bright'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'A zebra in the sun on a dirt road'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A pair of giraffes looking in the opposite direction of each other'. Count the number of nouns in this sentence.
Example Output:
3