Quite easy to see with:

(setq display-line-numbers-major-tick 5)
(set-face-attribute 'line-number-major-tick nil :foreground "white" :background "black")

and then just enable line numbers in *Scratch* and insert a few lines at the end.

image.png