def get_count_fields_model(instance):
    """
    This method get count fields from model instance.

    Args:
        instance (obj): instance class model.

    Returns:
        int: Total fields of model.
    """
    return len(instance._meta.fields)
