add get stat
Merge branch 'master' of github.com:humboldt-xie/xb