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

Example Input: Sentence: 'A person crossing a road near a stop sign beside a wooded area'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'a group of people walking beside a rail train'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A pitcher on a baseball field doing an interesting wind up'. Count the number of verbs in this sentence.
Example Output:
1