public static int searchCount(
      long companyId,
      long[] groupIds,
      long[] calendarResourceIds,
      java.lang.String keywords,
      boolean andOperator)
      throws RemoteException {
    try {
      int returnValue =
          CalendarServiceUtil.searchCount(
              companyId, groupIds, calendarResourceIds, keywords, andOperator);

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

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