code: public int getSubIfdCount() {
      int c = 0;
      if (metadata != null && metadata.contains("SubIFDs"))
        c = getMetadataList("SubIFDs").size();
      return c;
    }
docs: Gets the Subifd count.
  
  @return the Subifd count