Counting with the Derivative Tower: the Budan-Fourier Theorem, Machine-Checked in Lean 4 | Synapse