Using the section helper we create separate sections of work items. We also use the {{ count }} helper to output the total number of work items in each section.
Template
# Release Notes
{{#section 'major'}}
## Major features ({{count}})
{{#workItems}}
### {{field 'Title' }}
{{{ field 'Description' }}}
{{/workItems}}
{{/section}}
{{#section 'minor'}}
## Minor updates ({{count}})
{{#workItems}}
### {{field 'Title' }}
{{{ field 'Description' }}}
{{/workItems}}
{{/section}}
{{#section 'bugfix'}}
## Bug fixes ({{count}})
|Id|Title|
|--|--|
{{#workItems}}
|{{id}}|{{field 'Title'}}|
{{/workItems}}
{{/section}}