docs: private int getResultsDisplayed(CmsGallerySearchBean searchObj) {
  
          int resultsDisplayed = searchObj.getMatchesPerPage() * searchObj.getLastPage();
          return (resultsDisplayed > searchObj.getResultCount()) ? searchObj.getResultCount() : resultsDisplayed;
      }