Generator memory counter