Well sometimes when you prime you see the seams and rough spots that need work,so you sand,putty,polish and repair and then prime again,still looks rough,a little more sanding here and there.
So the answer to your question is as many times as it takes.