On this page: [https://docs.boltcms.io/5.0/templating/content-search#setcontent-search](https://docs.boltcms.io/5.0/templating/content-search#setcontent-search) is an example usecase: ``` {% if records|length == 0 %} {{ searchresult.no_of_results }} results for {{ searchTerm }} found. {% else %} ... {% endif %} ``` But `{{ searchresult.no_of_results }} ` returns an error: **Variable "searchresult" does not exist.**