I think size returns a tuple, but we should still do `size(m,1)` to avoid the tuple creation.