Added stupid line count function