title: The number of occurences of elements in a vector [JULIA]
body: <p>I have a vector of 2500 values composed of repeated values and <code>NaN</code> values. I want to remove all the <code>NaN</code> values and compute the number of occurrences of each other value.</p>
  
  <pre><code>y
  2500-element Array{Int64,1}:
  8
  43
  NaN
  46
  NaN
  8
  8
  3
  46
  NaN
  </code></pre>
  
  <p>For example:
   the number of occurences of 8 is 3
  the number of occurences of 46 is 2
  the number of occurences of 43 is 1.</p>