title: R: How to summarize a count of lottery numbers that are spread over multiple columns (ideally using dplyr)
body: <p>Here are the first ten rows of my data (total 1053)</p>
  
  <pre><code>1  10/31/2015  8  9 36 38 41 47
  2  10/28/2015  2  5  7 15 22 30
  3  10/24/2015  1  8 17 21 23 34
  4  10/21/2015  5 18 22 28 31 40
  5  10/17/2015 10 12 29 30 31 39
  6  10/14/2015  5 12 16 22 46 48
  7  10/10/2015 18 20 32 33 44 47
  8   10/7/2015  7 24 26 32 34 47
  9   10/3/2015 12 17 22 36 37 45
  10  9/30/2015  5 12 18 22 24 25
  </code></pre>
  
  <p>The first column is the date, and the other columns are winning lottery numbers.  I would like to know how to summarize the count of each number.  For example, I would like to know how many times 36 came up, and 41, etc..  I am looking for the 2nd through 7th column to be replaced with two columns, one with the number of a lottery ball, and the amount of times that number popped up in a winning lottery.  I would appreciate any answer, but ideally I would like to see the solution in dplyr or tidyr.</p>