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

Example Input: Sentence: 'A group of brown teddy bears one without a head'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'Multiple goats stand atop a grassy hill with a tree'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A group of boys that are standing in the grass'. Count the number of verbs in this sentence.
Example Output:
1