adding drag counter