#include <kvstore.h> kv_int_t kv_iterator_size(const kv_iterator_t *iterator)
Returns the number of items contained in the iterator.
This function can only be used with iterators returned by
the kv_multi_*
line of functions. The
iterators returned by other functions, such as
kv_store_iterator(), are not usable by this function.