implement oas.annotationCountByTarget