One good use of variable ErrorCount records the total number of errors, while ErrorProjects builds a list of the projects which have failed.

The steps are as follows:

More ideas: