Input: Sentence: 'A ducks is swimming on the water while people walk in the background'. Count the number of verbs in this sentence.
Output: 2