Now setting the number of failed parts

This is an attempt to speed up queries on large number of imports
Merge pull request #13 from pkruithof/perf-import-errored-parts

Now setting the number of failed parts