Osmotic pressure, Boiling-Point Elevation, and Freezing-Point Depression all depend on Colligative Properties. So for this example, NaCl, each mole dissociates into 2 ions (Na+ and Cl-). If you got something that doesn't dissociate, like an organic compound (i.e. ethanol, C2H5OH) you only have the one mole. If you get a problem that deals with Colligative properties, you'll have to use this approach.