Implement fail counting for metro builds, so that consecutive fails can be pulled out of build rotation.