Fixed counting of total solved problems