def get_computed_response_parameter_number(response):
    """  
        extract the number of parameters from the Dialogflow response, fallback: 0
    """
    try:
        return len(response.query_result.parameters)
    except:
        return 0