add /v2/stats

@unihorn My idea is not having any non-local consts.