int get_latest_entry_num()
Returns the absolute sequence number of the latest result inserted into the history.