SMS dit: Single shot emittance measurement from beam size measurement in a drift section