Kernel#to_enum: assign passed block to Enumerator#size, when given.