enumerable#size is only available from 2.0