E.g. apply counting array elements function 'numel' to every cell
(https://www.mathworks.com/matlabcentral/answers/275018-sum-the-elements-in-cell-array-with-different-element-length)
m = cellfun(@numel,cellArrayName)