Replaced uses of 'x.size()' with 'length(x)'

refactor: added the length() function that's like Python's len()

refactor

(0) -1000 -300 -100 -30 -10 -3 +3 +10 +30 +100 +300 tip

mercurial