Added printing of number of successes.