add a simple python line counter