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

Example Input: Sentence: 'A group of men walk down a path with a group of ox'. Count the number of nouns in this sentence.
Example Output: 5

Example Input: Sentence: 'Century old buildings stand near streets in a city'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'Park where people are sitting in the grass and a boy running after a yellow Frisbee'. Count the number of nouns in this sentence.
Example Output:
3