docs: def count_lines(abspath):
      """Count how many lines in a pure text file.
      """
      with open(abspath, "rb") as f:
          i = 0
          for line in f:
              i += 1
              pass
          return i