If you want to show line numbers in a Google Docs document, then you can do it using the Line Numbers for Google Docs Chrome extension.