adds mapreduce framework which uses mulitprocessing and then merges counters