Sample MR python code to count some baseball stats