if (udm_api_version() = 30111) {print "Total number of urls in database: ".udm_get_doc_count($udm). "br \n";}
This function allows user to identify which API functions are available, e.g. udm_get_doc_count() function is only available in mnoGoSearch 3.1.11 or later.