title: How to capture statistics on how many times a user visited a site
body: <pre><code>visited     200 days, 1 consecutive
  </code></pre>
  
  <p>How to capture statistics on how many times a user visited a site and how many days in a consecutive fashion much similar to what Stackoverflow provides in the profile.</p>
  
  <p>Will the following table suffice?</p>
  
  <pre><code>create table visit_stats (id, user_id, date)
  </code></pre>