The ship slot count is controlled by the RESEARCHSUBJECT_MAXSHIPSLOT entity files in the gameinfo folder. Alternatively the actual ship entity files could be modified to increase the cost of each ship's slot count.
There's already been plenty of work done in this area. I'd suggest searching the forum first to see how others did it.