title: Grep logs for occurrences per second
body: <p>I am trying to search logs for a range of time looking for the number of occurrences a specific account has.  For instance I am running this now:</p>
  
  <pre class="lang-sh prettyprint-override"><code>sed ‘/23:50:28/,/23:55:02/! d’ log.log | grep account_number | wc -l
  </code></pre>
  
  <p>Which nicely returns the total number of times this account might have entries given the time frame per second.  My question is how can I also get a list of all those occurrences by each time entry?  Example:</p>
  
  <pre><code>23:50:28 - 2
  23:50:29 - 1
  23:50:30 - 3
  etc.
  etc.
  </code></pre>
  
  <p>Thanks</p>