in reply to \n size

length $/; may be what you want, if nothing has treated global $/ with disrespect.

After Compline,
Zaxo