Calorie settings for pregnancy

Options
Anyone have any advice on this? I'm starting my third trimester, and my ob and cardiologist recommended I slow down weight gain. I don't know how to do that other than track calories. Just set it to gain .5 lb a week or so?