title: How to determine the size of different columns in a 2D cell array in MATLAB?
body: <p>I have a 2D cell array where the first row consists of labels from a database, such that: </p>
  
  <pre><code>myData(1,:) = {'X', 'Y', 'Z', 'W'};
  </code></pre>
  
  <p>For each label, there is a column (i.e. from the second row to the last row for the particular column) that consists of cell entries, but there may be situations where not all of the cells are populated.  </p>
  
  <p>This example should illustrate an example of what happens with what I'm working with:</p>
  
  <pre><code>myData = 
      'X'    'Y'    'Z'    'W'
      [1]     []     []    [1]
      [2]     []     []    [2]
       []     []     []    [3]
  </code></pre>
  
  <p>Would it be possible to determine how many non-empty rows there are for each column of my 2D cell array, not including the first row of labels?</p>