Update counter.exs