redis & future<int> length implementation