Add get_max_result_num() and get_ml_client()