Invariant measures for many-one transformations