(PHP 4 >= 4.0.5)
udm_get_doc_count() returns number of documents in database.
agent - link to agent identifier, received after call to udm_alloc_agent().
Poznßmka: This function is supported only in mnoGoSearch 3.1.11 or later.