FStringOutputDeviceCountLines

An output device which counts lines as it builds up a string.