Count failed specs

Counts the number of failed specs instead of setting it to true.