BUG: fix length_of_indexer returning negative length for negative-ste… (#66101)