<html>
  <head>
    <title>
      {{ name }}'s Favorite Releases of {{ ballot.year }}
    </title>
  </head>
  <body>
    <h1><hr>{{ name }}'s Favorite Releases of {{ ballot.year }}</h1>
    {% if ballot.preamble %}
      <p>{{ ballot.preamble|linebreaksbr }}
    {% endif %}
    <p><ol>
    {% for v in votes.favorite %}
      {% include "vote-view.html" %}
    {% endfor %}</ol>
    {% if votes.honorable %}
      <h3>Honorable mentions</h3>
      <ol>
	{% for v in votes.honorable %}
          {% include "vote-view.html" %}
	{% endfor %}
      </ol>
    {% endif %}
    {% if votes.notable %}
      <h3>Other notable releases</h3>
      <ol>
	{% for v in votes.notable %}
	  {% include "vote-view.html" %}
	{% endfor %}
      </ol>
    {% endif %}
    {% if ballot.postamble %}
      <p>{{ ballot.postamble|linebreaksbr }}
    {% endif %}
  </body>
</html>

<html>
  <head>
    <title>
      {{ name }}'s Favorite Releases of {{ ballot.year }}
    </title>
  </head>
  <body>
    <h1><hr>{{ name }}'s Favorite Releases of {{ ballot.year }}</h1>
    {% if ballot.preamble %}
      <p>{{ ballot.preamble|linebreaksbr }}
    {% endif %}
    <p><ol>
    {% for v in votes.favorite %}
      {% include "vote-view.html" %}
    {% endfor %}</ol>
    {% if votes.honorable.count %}
      <h3>Honorable mentions</h3>
      <ol>
	{% for v in votes.honorable %}
          {% include "vote-view.html" %}
	{% endfor %}
      </ol>
    {% endif %}
    {% if votes.notable.count %}
      <h3>Other notable releases</h3>
      <ol>
	{% for v in votes.notable %}
	  {% include "vote-view.html" %}
	{% endfor %}
      </ol>
    {% endif %}
    {% if ballot.postamble %}
      <p>{{ ballot.postamble|linebreaksbr }}
    {% endif %}
  </body>
</html>

Use .count since the vote collections are now iterables rather than lists.
Use .count since the vote collections are now iterables rather than lists.
