Add statistics cli app

As discussed IRL I'd be tempted to use the nicer `FactStats` to represent this, just to make it clearer.