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: 'There is woman texting on a phone holding a tennis racket'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'A man in a cowboy hat is milking a black cow'. Count the number of nouns in this sentence.
Example Output:
4