You should have worked for 240/190 days in 5th year if the establishment works for 6/less than 6days/week.
You seem to have worked for 04Y06M12D.
Count leap years in between also.
If the establishment works for less than 6days/week, then you should be eligible.
Or withdraw resignation before expiry of notice period or extend notice period as workable.
Employer can provide better provisions than the Act and pay gratuity by its sweet will.