{% set minRows = settings.limit ? min(3, settings.limit) : 3 %} {% set bufferRows = (minRows > entities|length ? minRows - entities|length : 0) %}