add mid for candidates in statistics
Merge pull request #375 from LipuFei/improve_statistics

Add candidate mid in statistics