@Override
  public int getContainerModelsCount(long classPK, long parentContainerModelId)
      throws PortalException, SystemException {

    return JournalFolderLocalServiceUtil.getFoldersCount(
        getGroupId(classPK), parentContainerModelId);
  }
  @Override
  public int getTrashContainerModelsCount(long classPK) throws PortalException, SystemException {

    JournalFolder folder = JournalFolderLocalServiceUtil.getFolder(classPK);

    return JournalFolderLocalServiceUtil.getFoldersCount(
        folder.getGroupId(), classPK, WorkflowConstants.STATUS_IN_TRASH);
  }