code: protected int getArtefactCount(String artefactType) {
          ArtefactInfo info = getArtefactInfo(artefactType);
          return info == null ? 0 : info.getClasses().length;
      }
docs: Retrieves the number of artefacts registered for the given artefactType as defined by the ArtefactHandler.
  
  @param artefactType The type of the artefact as defined by the ArtefactHandler
  @return The number of registered artefacts