moved line count to document settings