Input: Sentence: 'A person in a hat is riding a horse'. Count the number of verbs in this sentence.
Output: 1