Counting how many times something happens is among the simplest questions about a video and among the hardest for video-language models, autoregressive and diffusion alike. The difficulty lies between the frames: a model samples only a few of them, while each repetition unfolds as movement in between. Video codecs already record this movement densely as block displacements, and codec-based video models use it to shape their visual input. We are the first to show that this motion provides direct evidence for the count: a candidate count is a testable motion hypothesis, and unwinding the cycles it implies measures how strongly the observed directions support it. We present CoDiCount, a unified training-free framework that turns this test into a count potential and applies it while a frozen diffusion vision-language model (dVLM) denoises its answer. At every denoising step, structured count messages map each option letter, or each grammar-valid edit of an open integer, to the count it expresses and reweight the model's own probabilities within that set. Consistent gains over the official decoders on MotionBench, TOMATO, and SVCBench demonstrate the broad generalization of CoDiCount across diffusion models, datasets, and diverse counting tasks. With CoDiCount, a 7B dVLM outperforms GPT-5.1 and Gemini-2.5-Pro on MotionBench, surpasses GPT-4o and much larger open models on TOMATO, and matches GPT-5.4 on SVCBench.
Figures & tables
Figure 2: CoDiCount turns codec motion into count evidence inside the denoising of a frozen dVLM. Left: reference-normalized, motion-compensated cell velocities define directions and motion progress. Unwinding each candidate count in both directions and measuring semicircle organization yields a shared potential ℓ(n) . Right: public options or DFA-valid edits map the evolving answer draft to complete integers. Normalized count messages condition both visual branches before guidance; coupled numeric and termination edits produce token marginals. Commitment and soft feedback carry the conditioned predictions into the next step of the frozen Dream-VL decoder.
Model
Size
Accuracy
Proprietary autoregressive models
Gemini-2.5-Pro
–
57.0
GPT-5.1
–
56.7
Claude-Opus-4.5
–
36.9
Claude-Sonnet-4.5
–
29.4
GPT-5-Chat
–
26.7
Table 1: MotionBench. With CoDiCount, the 7B Dream-VL surpasses GPT-5.1 and Gemini-2.5-Pro. Accuracy (%). Autoregressive results are from the official MotionBench leaderboard [ 7 ] on the same questions. Shaded rows are ours, with the gain over the official decoder.
Model
Size
Accuracy
Proprietary autoregressive models
GPT-4o
–
36.0
Gemini-1.5-Pro
–
36.3
Claude-3.5-Sonnet
–
31.2
Open-source autoregressive models
LLaVA-Video-72B
72B
34.6
Table 2: TOMATO. With CoDiCount, the 7B Dream-VL surpasses every listed model. Accuracy (%). Autoregressive results are reported by the TOMATO authors [ 19 ] on the same questions. Shaded rows are ours, with the gain over the official decoder.
GPA
Model
Size
Overall
Periodic
Frontier autoregressive models
GPT-5.4
–
29.1
3.2
Kimi-K2.5
1T
26.4
0.4
Open-source autoregressive models
Qwen3-VL-30B
30B
27.0
2.5
Table 3: SVCBench. With CoDiCount, the 7B Dream-VL matches GPT-5.4 overall and leads every listed model on periodic activities. Official GPA × 100 on the complete benchmark (Overall) and on its periodic activities (Periodic). Autoregressive results are reported by the SVCBench authors [ 14 ] on the same queries, with 64 frames or one frame per second. Size denotes total parameters. Shaded rows are ours, with the gain over the official decoder.
Dream-VL (7B)
LaViDa (8B)
Category
Official
+ CoDiCount
Native
+ CoDiCount
Gaming
21.7
90.8 +69.1
27.0
93.4 +66.4
Industrial
24.2
30.1 +5.9
21.6
27.5 +5.9
Medical
22.6
49.1 +26.4
26.4
43.4 +17.0
Sports
16.0
52.0 +36.0
20.0
48.0 +28.0
All
23.0
57.5 +34.5
23.2
55.2 +32.0
Table 4: MotionBench by category. CoDiCount improves every category on both models. Accuracy (%) overall and by official category. Each model is compared with its official decoder, and small numbers give the gain of CoDiCount.
Variant
MB
TO
GPA
MoC
UDA
w/o count messages
26.0
28.1
24.1
67.7
33.6
Shuffled codec motion
–
–
24.2
58.8
38.3
Last-step injection
–
–
25.8
64.0
35.0
Single-token edits
–
–
26.2
66.0
37.2
CoDiCount
57.5
43.2
29.1
68.9
39.2
Table 5: Ablations of CoDiCount on Dream-VL. All variants share the frozen model, inputs, inference loop, and 32 language-model calls per answer. The first row removes the count potential and structured count messages, and the other rows each change one part of CoDiCount on the full SVCBench. MotionBench (MB) and TOMATO (TO) report accuracy (%). SVCBench reports GPA, Monotonicity Consistency (MoC), and Update Direction Accuracy (UDA), all scaled by 100.