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

Example Input: Sentence: 'A subway train next to the boarding platform'. Count the number of nouns in this sentence.
Example Output: 4

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: 'An orange and white cat sleeping with its head on the keyboard of a laptop computer'. Count the number of verbs in this sentence.
Example Output:
1