Made process count a dedupe instance variable; pass generator to mapper