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 person surfing under a wave in the ocean'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A small jet plane traveling away from the airport'. Count the number of verbs in this sentence.
Example Output:
1