refactor out the annotation count fetching code so it can easily be
reused
jsdoc oas.defaultResultDialog
add note about the z-order fix for future maintenance
add note about investigating why root node data is being iterated over
jsdoc oas.annotationCount