Total lines on end of valuation PDF

Also, remove some pyc files.