Added line_count segment for vim.

Returns total number of lines in current buffer.

Addresses #556
Merge pull request #947 from magus424/feature/556-line_count-segment

Added line_count segment for vim.

Closes #556