I've had it happen as well, and it was when I changed "Enchanted hammers" and "Inspiration" to Auras in a fortress. The counter went to 5/3. I changed it back after I had produced the troops I needed, and it did not increase the second time. But when I made my next batch of troops, it went to 7/3.