Return number of failed test cases.