add line counter in install.py