@Override
  protected void doPrepareManifestSummary(PortletDataContext portletDataContext) throws Exception {

    ManifestSummary manifestSummary = portletDataContext.getManifestSummary();

    ActionableDynamicQuery layoutPrototypeExportActionableDynamicQuery =
        new LayoutPrototypeExportActionableDynamicQuery(portletDataContext);

    manifestSummary.addModelAdditionCount(
        LayoutPrototype.class, layoutPrototypeExportActionableDynamicQuery.performCount());
  }
  @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;
  }