count pi on vanilla mapreduce api