Nalin Dahyabhai wrote: > Assuming you only care about entries that get stored on disk (which is > what I'd prefer if I were a customer), you could find the id2entry > database file run 'db_stat -d' against it, and use the number of unique > keys and data items it returns as your count. > This does essentially the same thing as a search for all entries. However it will potentially give the wrong number because it'll include deleted entries.