elf_object_count
ndyn = elf_object_count(efile, ELF_T_DYN, shdr.sh_size);
nsym = elf_object_count(efile, ELF_T_SYM, shdr.sh_size);
nrel = elf_object_count(efile, ELF_T_REL, shdr.sh_size);
nrela = elf_object_count(efile, ELF_T_RELA, shdr.sh_size);