{# Inputs: account_points: list[AccountValuePoint] -- new dual-line series source benchmark_points: list[BenchmarkPoint] benchmark_symbol: str period_label: str -- e.g. "YTD 2025", "2024", "Lifetime" #} {% set has_data = account_points and account_points|length >= 2 %} {% set missing_dates_count = account_points|selectattr('account_value', 'none')|list|length if account_points else 0 %}