Add statistics cli app

Can you make it `_stats` instead of `stats`. It makes it easier to exclude metadata from other processes.