Fixed the annotationCount method to get annotations generated by
Analysis process