I flew a similar direct a few months back. They credited me one segment and the MKE-SFO mileage, even though a gate and plane change in MSP was required. I called the WorldPerks line and they gladly changed it to 2 segments with full mileage credit for each.