Add stats for error in hist
Merge pull request #1 from yaoyaowd/stats

Add stats for error in hist