changed so that tick_count is reset for class variable in app.rb, not the instance that exists in the route