code: @Override
      public List<Entitlement> getCurrentUsage() {
          Entitlement sites = new Entitlement();
          sites.setType(EntitlementType.SITE);
          Entitlement users = new Entitlement();
          users.setType(EntitlementType.USER);
  
          try {
              sites.setValue((int) tenantRepository.count());
              users.setValue((int) profileRepository.count());
          } catch (Exception e) {
              logger.error("Error fetching data", e);
          }
          return Arrays.asList(sites, users);
      }
docs: {@inheritDoc}