switch to MultipleOutputs so that valid and invalid counts are written to two seperate final output files