increment errored repo metric every iteration
Created by: mollylogue
Rather than counting all repos and then setting the gauge (which only gives us metrics when the task finishes), increment as we iterate through all the repos and ensure the gauge is set to zero when the task starts up.