Update print.c

Removing duplicate line count sent in from buffer in main