{% if dataset.is_finished() and dataset.num_rows > 0 %}
{% if dataset.status %}{{ dataset.status }}{% if dataset.status[-1] != '.' %}.{% endif %}{% else %}Completed.{% endif %} {{ "{:,}".format(dataset.num_rows) }} item{% if dataset.num_rows != 1 %}s{% endif %} captured.
{% endif %}
{% if not dataset.is_finished() %} {% include "result-status.html" %} {% elif dataset.num_rows < 1 %} No results. {{ dataset.status }} {% else %} {% endif %}