add get_metric_statistics() method to call the API action. (#4)