mr.py

statistic by an map-reduce way