feat(DocHtmlFormat): Add `displayrowcount` option for array attributes (closes #4851)(closes #4945)