[% IF models.count %]

### By Platform

Vendor | Model | Count
--- | --- | ---
[% FOREACH platform IN models.all %] [% NEXT UNLESS platform.vendor OR platform.model %]
[% IF platform.vendor %] [% platform.vendor | html_entity %] [% ELSE %]unknown[% END %] | [% IF platform.model %] [% platform.model | html_entity %] [% ELSE %]unknown[% END %] | [% platform.get_column('count') | html_entity %]
[% END %]

### By Software Release

OS | Version | Count
--- | --- | ---
[% FOREACH release IN releases.all %] [% NEXT UNLESS (release.os OR release.os_ver) %]
[% release.os || 'unknown' | html_entity %] | [% IF release.os_ver %] [% release.os_ver | html_entity %] [% ELSE %]unknown[% END %] | [% release.get_column('count') | html_entity %]
[% END %]

[% ELSE %]
[% END %]