$(document).on('viewerLoaded', function() {
readerControl.docViewer.on('documentReady', function(e) {
var annotManager = readerControl.docViewer.getAnnotationManager();
var annotationList = annotManager.getAnnotationsList();
alert(annotationList.length);
});
});