Basic line counting functionality.