code: public int countResources(I_CmsPublishResourceCheck check) {
  
          int count = 0;
          for (CmsPublishGroup group : m_groups) {
              count += countResourcesInGroup(check, group.getResources());
          }
          return count;
      }
docs: Counts the resources which pass a given check.<p>
  
  @param check the check to apply
  
  @return the number of resources which passed the check