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

Input: Consider Input: Sentence: 'Woman cross country skiing alone on a trail in the woods'. Count the number of nouns in this sentence.

Output: 5

Input: Consider Input: Sentence: 'Pedestrians stand at a crosswalk waiting for the light to change'. Count the number of nouns in this sentence.

Output: 3

Input: Consider Input: Sentence: 'A passenger plane is taking off from a runway'. Count the number of verbs in this sentence.
Output: 1