Can Arduino control 300+ Relays ?

About realay quantity, I want to control 300 electromagnets.

Drive them directly as if they were motors.
http://www.thebox.myzen.co.uk/Workshop/Motors_1.html