Add DocumentSet.documentProcessingErrorCount, a cache. Fixes #384