private int deriveGnuXHashDynamicSymbolCount(long gnuHashTableOffset) throws IOException {
		// Elf32_Word  ngnusyms;  // number of entries in chains (and xlat); dynsymcount=symndx+ngnusyms
		// Elf32_Word  nbuckets;  // number of hash table buckets
		// Elf32_Word  symndx;  // number of initial .dynsym entires skipped in chains[] (and xlat[])
		int ngnusyms = reader.readInt(gnuHashTableOffset);
		int symndx = reader.readInt(gnuHashTableOffset + 8);

		return symndx + ngnusyms;
	}
Walk DT_GNU_XHASH table to determine dynamic symbol count
@param gnuHashTableOffset DT_GNU_XHASH table file offset
@return dynamic symbol count
@throws IOException file read error
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/elf/ElfHeader.java