Okay, that is a very good goal.
Do you have a program in place, or are you considering any specific program?
The programs are going to differ, but as long as you put in honesty and hard work, the results from ProgramA or ProgramB will be very similar.
So besides being a program/training protocol you like, then the only other thing in order to combine building muscle + gaining minimum amount of fat will be dependent on your nutrition.
You have to gain some fat with your muscle, that's just how it works, but you can definitely, definitely keep the fat to a minimum, and basically have a low body-fat while still gaining muscle.
Here is a good start on how to get that done. Keep in mind, I don't personally count calories because I prefer using the mirror as an estimate to whether or not I'm eating too much, or too little.