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

Example Input: Sentence: 'Cupcakes part iced part not with a walnut on top'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'A cat with a serious look on its face sitting on a bed'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'A collaboration  of people in different pictures doing things'. Count the number of nouns in this sentence.
Example Output:
4