title: two javascript arrays and display result with count
body: <p>Hi I have two javascripts arrays and I want to display result in below way (specified in desired result table):</p>
  
  <pre><code>array1 = ( '2013/01/02','2013/01/03','2013/01/02','2013/01/02' );
  array2 = ( 'a' ,'b', 'c', 'a' );
  </code></pre>
  
  <p>I need result in below format but in HTML page: </p>
  
  <pre><code>       2013/01/02   2013/01/03  
  a          2            0  
  b          0            1  
  c          1            0  
  </code></pre>
  
  <p>hints: array1 1st value link with array2 1st value, array1 2nd value link with array2 2nd value ... 
  How many 2013/01/02 and a ? if we compare two arrays ? count is 2 but should display in matrix </p>