All of the above foo. Increasing the number of coils allows more current to flow in a unit length with means more magnetic field. The iron rod will be magnetized by the magnetic field of solenoid and will then increase strength of magnetic field. And of course magnetic field increases when current increases