Molecular weight

How could a simple osmometer be used to estimate the molecular weight of an unknown substance?