The maximum number of times you can claim the American Opportunity Credit is 4. Once you have claimed it for the 4th time, it is no longer available to you.
You should review your prior years tax returns to see how many times you have taken the credit.