Could we just do `results|length` in the template instead? Should be fast, and we'd have a little less to read.