Added calculation of pipeline runtime and number of errors.