Replaced '.length()' with 'length()' where appropriate

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 -4 +4 +10 +30 +100 +300 tip

mercurial