Couldn't this just use `riak_object:approximate_size/2`?