Add line counting script