Memoize length, and no more infinity