Count total unique words using methods supported by Vector and GSL::Vector.

Fixes https://github.com/jekyll/jekyll/issues/2743
Merge pull request #11 from jekyll/jekyll/jekyll/2743