Add m_lastcount to header file to make it compile.