Added line_count segment for vim.

Returns total number of lines in current buffer.

Fixes #556