#size not implemented in 1.9.3. and jruby