Added edit button to counting_controller.