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

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

Example Input: Sentence: 'A little cat sits on a laptop keyboard'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'a plate of fruits and ice cream and a donut'. Count the number of nouns in this sentence.
Example Output:
5