@Override
  public long performCount() throws PortalException, SystemException {
    ManifestSummary manifestSummary = _portletDataContext.getManifestSummary();

    long modelAdditionCount = super.performCount();

    manifestSummary.addModelAdditionCount(getManifestSummaryKey(), modelAdditionCount);

    long modelDeletionCount = getModelDeletionCount();

    manifestSummary.addModelDeletionCount(getManifestSummaryKey(), modelDeletionCount);

    return modelAdditionCount;
  }
  public long performCount() throws PortalException, SystemException {
    ManifestSummary manifestSummary = _portletDataContext.getManifestSummary();

    StagedModelType stagedModelType = getStagedModelType();

    long modelAdditionCount = super.performCount();

    manifestSummary.addModelAdditionCount(stagedModelType.toString(), modelAdditionCount);

    long modelDeletionCount =
        ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, stagedModelType);

    manifestSummary.addModelDeletionCount(stagedModelType.toString(), modelDeletionCount);

    return modelAdditionCount;
  }