create line counting program