Foliations with measure