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