You can take AIME only once per qualification. But you can take AMC 10 and AMC 12 as many times as you want to appear in AIME.