title: count lines with matching pattern from log file
body: <p>My abc.log contains below entries (snippet):</p>
  
  <pre><code>...
  INFO #my-service# #add# id=67986324423 isTrial=true
  INFO #my-service# #add# id=43536343643 isTrial=false
  INFO #my-service# #add# id=43634636365 isTrial=true
  INFO #my-service# #add# id=67986324423 isTrial=true
  INFO #my-service# #delete# id=43634636365 isTrial=true
  INFO #my-service# #delete# id=56543435355 isTrial=false
  ...
  </code></pre>
  
  <p>I want to count the lines which are having unique ids with <code>#add#</code> attribute in them &amp; having <code>isTrial=true</code>.</p>
  
  <p>For above snippet, the output should be 2 </p>
  
  <p>Can any one proivide me linux command which I can run against above log file?</p>