Instructions: In this task, you need to count the number of nouns/verbs in the given sentence.
Input: Sentence: 'A snowboarder doing a trick on a slope while others watch'. Count the number of verbs in this sentence.
Output:
2