title: Extract the count of keyvalue present in txt file from system date in unix or linux
body: <p>Below file generates workcount keys value daily. I need to extract the specific count from  current date. Please help me out.</p>
  
  <h1>workcount.txt</h1>
  
  <pre><code>Sun Jul 13 01:00:01 PDT 2014
  Mon Jul 14 01:00:02 PDT 2014
  4d972230-0b5a-11e4-a900-0ed3c9c5b6a3
  23d41150-0b74-11e4-49ac-be7a81b06437
  1c4a6cc0-0b7b-11e4-258d-1ee0158edd78
  85bf5e10-0b83-11e4-716f-4253342907af
  8610b260-0b83-11e4-49ac-be7a81b06437
  ecf70dc0-0b84-11e4-c558-b6711cc279a6
  d569cca0-0b99-11e4-8d77-f2b426de171e    
  Tue Jul 15 01:00:01 PDT 2014
  92e85260-0c30-11e4-258d-1ee0158edd78
  bdf103d0-0c30-11e4-c558-b6711cc279a6
  343cf3c0-0c34-11e4-c94d-fa2a5e818fe8
  34723490-0c34-11e4-c558-b6711cc279a6
  3497e500-0c34-11e4-258d-1ee0158edd78
  66711ad0-0c46-11e4-49ac-be7a81b06437
  66dd4a20-0c46-11e4-258d-1ee0158edd78
  87a28070-0c48-11e4-a900-0ed3c9c5b6a3
  f19ea750-0c49-11e4-c558-b6711cc279a6
  Wed Jul 16 01:00:01 PDT 2014
  426ede80-0cdf-11e4-716f-4253342907af
  17a1a3e0-0ce9-11e4-49ac-be7a81b06437    
  1797dfe0-0ce9-11e4-c558-b6711cc279a6
  176d2660-0ce9-11e4-258d-1ee0158edd78
  17882870-0ce9-11e4-c94d-fa2a5e818fe8
  173ca080-0ce9-11e4-dd2f-0ed3c9c5b6a3
  179fcf20-0ce9-11e4-716f-4253342907af
  7ebbc300-0cf6-11e4-c94d-fa2a5e818fe8
  26d21980-0cfd-11e4-49ac-be7a81b06437
  Thu Jul 17 01:00:01 PDT 2014
  e9cf91d0-0daf-11e4-49ac-be7a81b06437
  ea7d0fe0-0daf-11e4-258d-1ee0158edd78
  eb50b390-0daf-11e4-716f-4253342907af
  5284fa50-0dd1-11e4-dd2f-0ed3c9c5b6a3
  </code></pre>
  
  <p>Assume that <strong>Thu Jul 17 1:05:34 PDT 2014</strong> is current system date and I need to extract the count of the current date as shown below:</p>
  
  <pre><code>We had 4 connection reset work unit failures today. 
  </code></pre>