def _individual_settings(update_result):
    """Helper that returns the number of settings that were updated."""
    return sum(
        len(settings_in_a_group)
        for settings_in_a_group in update_result.values()
    )