code: def symbols_count(self):
          
          if not self._ptr:
              raise BfdException("BFD not initialized")
  
          return _bfd.get_bfd_attribute(self._ptr, BfdAttributes.SYMCOUNT)
docs: Return the symcount attribute of the BFD file being processed.