Track the number of failures, not the instances.

The number of failures on very large scans (1m hosts) results in
a large list. This commit tracks the number of failures instead
of the objects.