How many cables connects to the starter solenoid switch?

I stalled a new starter solenoid switch, new alternator with voltage regulator and a new battery. Upon connecting the battery cable/ ignition line cable/ fuss control and two more cable as removed from the previous.Result is fire that burnt the battery positive cable