Fix size() when given something other than list