lab.numel(x)
y=lab.numel(x) returns the count of the number of elements in the matrix x.
y=lab.numel(x)