ExactCount Hadoop and serial version