code: @Override
      public Integer getAllDashboardsByTitleCount(String title, String type) {
          List<Dashboard> dashboards = null;
          if ((type != null) && (!type.isEmpty()) && (!UNDEFINED.equalsIgnoreCase(type))) {
              dashboards = dashboardRepository.findAllByTypeContainingIgnoreCaseAndTitleContainingIgnoreCase(type, title);
          } else {
              dashboards = dashboardRepository.findAllByTitleContainingIgnoreCase(title);
          }
          return dashboards != null ? dashboards.size() : 0;
      }
docs: Get count of all dashboards filtered by title
  
  @param title
  @return Integer