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

Example Input: Sentence: 'A red train engine coming into a station'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A man with his tennis racket below his waist as the ball moves away from him'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'A man plays a video game on the Wii'. Count the number of verbs in this sentence.
Example Output:
1