GetBufSymCount(hbuf)

Returns the number of symbols declared in the buffer hbuf. Returns zero if no symbols are declared, or if the file could not be processed, or if the document type for the file does not specify a language parser.