EPC means "Electronic Power Control" and it means that there is something wrong with your cars electronic systems. This may points to a serious problem with one of your cars systems or could be as simple as bad wiring (especially if your car has any added after-market components).
EPC refers to the drive by wire system. This system, generally speaking, encompasses the throttle pedal and its position sensors and the throttle body.
Most likely, the EPC light and its associated faults for this scenario are a symptom, not the problem. Meaning the actual root cause is causing the no-start/no crank issue AND fault codes related to the EPC system.
And the most likely root cause is an ignition switch, NOT the engine speed sensor.
With a bad engine speed sensor, the car will still crank all damn day (or until the battery dies) but the car won't start.
Furthermore, the info regarding the actual Check Engine Light was on. This means that system was point to find the trouble but delayed resposne thrown another code for EPC so that you dont do any guess work and shoot the bug.
You should get the OBD scan to find out what is the trouble code for EPC and see if anyother trouble code shown in Engine management system.