Added line_count segment for vim.

Returns total number of lines in current buffer.

Addresses #556