Added a Statistics web-api command.

Added a Statistics web-api command.