         @runnerResult['passed'] = runner.results().failedCount is 0
 
         @runnerResult['stats'] = {
-          specs: runner.results().totalCount
+          specs: @specCount
           failures: runner.results().failedCount
           time: runtime
         }

            messages.push result.message for result in spec.results().getItems()
            specResult['messages'] = messages if messages.length isnt 0

          @currentSpecs.push specResult

      # Report results from a suite.

        suites: []
      }

      specCount: 0
      currentSpecs: []
      nestedSuiteResults: {}

