public static int getFileEntriesAndFileShortcutsCount(
      long repositoryId, long folderId, int status) throws RemoteException {
    try {
      int returnValue =
          DLAppServiceUtil.getFileEntriesAndFileShortcutsCount(repositoryId, folderId, status);

      return returnValue;
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }