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 deep dish pizza sitting on top of a table next to a spatula'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'an  image of table setting with food on it'. Count the number of verbs in this sentence.
Example Output:
1