title: Summarize count of multiple patterns in shell
body: <p>I have a log file and the following commands</p>
  
  <pre><code>grep '"REFERENCE":"78","STATUS":"Buffered"' file.log | wc -l
  grep '"REFERENCE":"78","STATUS":"Delivered"' file.log | wc -l
  grep '"REFERENCE":"78","STATUS":"Not Delivered"' file.log | wc -l
  </code></pre>
  
  <p>Is there a way using a one liner to get an output like:</p>
  
  <pre><code>Buffered: 30
  Delivered: 1200
  Not Delivered: 589
  </code></pre>
  
  <p>The output has not to be exactly the same.</p>