add index total stats
Merge pull request #3 from PeerJ/master

add index total stats