Add 'GET /tables/:name/stats' endpoint.