Adaptive multi-vehicle motion counting