Bug fix for _get_value_count on empty database when _set_value_count has not yet been called.