count the number of tests that suceeeded