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

Example Input: Sentence: 'A bento style lunch box is filled with vegetables and fruits'. Count the number of nouns in this sentence.
Example Output: 6

Example Input: Sentence: 'Children play in the water from a fire hydrant in an urban setting'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'A fire hydrant near a small, old barn'. Count the number of nouns in this sentence.
Example Output:
3