Step 1 of 10 of the walkthrough. The degree of unsaturation is one number for two things: rings and pi bonds, added together. Cyclohexene has one ring and one double bond, so its DBE is 2. Open the ring and the number falls to 1. Hydrogenate the double bond and it falls to 1 as well, so the count alone never says which one you removed.
It opens on C6H10, 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: