counting lines should be more effective on windows

Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>