Step 6 of 10 of the walkthrough. The table assumes sulfur holds two bonds, and in a thioether or in thiophene it does. A sulfoxide holds four and a sulfone holds six, and a formula cannot tell you which. Dimethyl sulfoxide C2H6OS reads 0 by the rule while the drawing beside it has one S=O and counts 1. Add the second oxygen to make the sulfone: the formula still reads 0 and the drawing counts 2.
It opens on C2H6OS, with the calculator under it, so the arithmetic of this step is on screen while you read it.
A degree of unsaturation is rings plus pi bonds. Read it off a molecular formula, count it off a structure you draw, and compare the two: they part company whenever sulfur or phosphorus is drawn beyond the valence the formula assumes. The tool needs JavaScript; these are the pages it offers: