Fred counter attack calculation: restrict to a maximum of 1000 attack combos per call

This sounds like a good compromise for now (for reference, the RCA AI
categorically uses the same limit), possibly to be optimized later.