As mentioned we do have some version / packages miss-harmonies
Maybe too quick dirty for sanitizing the loop issue
an index driven access by a loop over Enumerable.Range / Repeat number of times in combination with the output.count could be exploited as a workaround