Minor refactoring to share pluralization logic with more than one error list heading.