Record test_count as part of TestResultManager.save