title: How to count occurrences of a column value in MATLAB
body: <p>Let's say I have a column with 2 values
  <code>0</code> and <code>1</code>, How would I count the occurences of the <code>0</code>, and <code>1</code> and the percentage.</p>
  
  <p>If the size of the matrix is <code>100</code>, and I have 45 <code>1's</code> I will get <code>45%</code> </p>