Turn on SM, F2, SM Mods, select the relevant world, adjust the lab count, save. At least that's how I think it should work.
*checks, no partial lab, but does find a world with a partial Automated Mine. Adjusts, saves, verifies* That worked, should work for a lab as well.