add perf benchmark for counted ranges, use ADL to find advance overloads, fix handling of single_pass in view cursors