Make editor/line-count take a LT editor

For consistency with other endpoints of the editor API, `lt.objs.editor/line-count` should likely accept a native Light Table editor instead of a CodeMirror instance.