Added problem and answer counting functionality.