deprecate: numel => length [#1939].