There is no limitation on the number of GATE attempts. One can enroll and appear for the exam as many times as one wants.