Input: Sentence: 'A boat flies its flag while sailing just off a pier'. Count the number of verbs in this sentence.
Output: 2