get line count of file `filename`,"def bufcount(filename):