The easiest way to do this is by playing the "Kid" mode as there are less things to kill you and no missiles, giving you more time.
Just keep an eye out for the gates and fly through. Count them as you go because the achievement won't pop until you die.