fix issue #34 - statistics stuff
Merge pull request #41 from Nami-Doc/issue34

fix issue #34 - statistics stuff