added imperative gesture counter example