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

Example Input: Sentence: 'A group of cows that are standing in the grass'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'The shelves are covered with a lamp, a clock, drawers, and photos'. Count the number of nouns in this sentence.
Example Output: 5

Example Input: Sentence: 'A man that is holding a frisbee in his hand'. Count the number of verbs in this sentence.
Example Output:
1