returning number of failed tests
return number of failed tests from all test scripts