Working with video detection and continuous counts