Ehsanul Hoque wrote:

> word_array = ['Word1', 'Word2', 'Word3'] #query here instead
> word_array.size # => 3

Thanks. I forgot to say that I want to count the occurrence of each of 
the 30 words. E.g. how many Word1 have they selected for Linearity? How 
many Word1 have they selected for Symmetry? And so on.
-- 
Posted via http://www.ruby-forum.com/.