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

Example Input: Sentence: 'A small child sleeping in a toddler bed with a pink bed set'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'a couple of birds that are sitting next to each other'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'a close up of food on a plate with meat and broccoli'. Count the number of nouns in this sentence.
Example Output:
4