Added Statistics command to the web-api.