Support @Counted annotation on type element