This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] Peroxodisulphuric acid $H_2S_2O_8$ has $4$ $S=O$ bonds (each sulphur has two), so $4$ $\pi$-bonds. Pyrosulphuric acid $H_2S_2O_7$ also has $4$ $S=O$ bonds. Total $=8$. Answer: 8.