MATLAB: How to count the 1X1 cells in a cell array

cellcell array

Hello,
I want to count the number of cells of size 1X1 in the attached matrix, So how can I do that?
Regards,

Best Answer

a=cellfun(@numel,Out)
sum(a==1)