Changed annotation_stats to be compatible with annotation file