'Returns overall summary of question e.g. answered, skipped, total_inputs on basis of filter'

@api.model
def get_input_summary(self, question, current_filters=None):

    current_filters = (current_filters if current_filters else [])
    result = {}
    if question.survey_id.user_input_ids:
        total_input_ids = (current_filters or [input_id.id for input_id in question.survey_id.user_input_ids if (input_id.state != 'new')])
        result['total_inputs'] = len(total_input_ids)
        question_input_ids = []
        for user_input in question.user_input_line_ids:
            if (not user_input.skipped):
                question_input_ids.append(user_input.user_input_id.id)
        result['answered'] = len((set(question_input_ids) & set(total_input_ids)))
        result['skipped'] = (result['total_inputs'] - result['answered'])
    return result
