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

Example Input: Sentence: 'a man with a white surfboard riding a small wave'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'The pasta dish has several vegetables mixed in it'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'A person on a snowboard in the air doing a trick'. Count the number of nouns in this sentence.
Example Output:
4