`size(m, 1)` avoids the creation of an array.