Input: Sentence: 'A man flying through the air while riding a snowboard'. Count the number of verbs in this sentence.
Output: 2