Weight gain

This is my second and with my first I was 214 and went to 236, but once I had her and all the swelling went down ( extreme swelling) I was down to 200. The Dr I had then didn't say anything.

With my 2nd I'm 22 weeks and just got told about my 12 pound weight gain.. I told the dr I didn't want to hear it because I'm more active now then pre-pregnancy, eat better, don't take out much (can't afford it anyway), can't poop, and I already feel uncomfortable from swelling. He wasn't a complete jerk about it, but its bothering me. I was really surprised I gained at all and I'm assuming it's water weight from swelling and some muscle since I'm almost constantly moving and walking.

Any input about not worrying about it? Or am I completely wrong and gained too much?