http://beecoder.org/en/ruby/find-the-length-of-a-set-in-ruby
Find the length of a set, Ruby