That seems like the easiest way to me. If you don't need access to the information in other areas, then I'd store it in a local variable on the area, like AREA_COUNTER_1. If you do need that information in other areas it's a bit tricker. If there's a maximum number you care about, a series of plot flags would work.