title: Count number of times a string is repeated in array using Lodash
body: <p>I have an array of strings which are tags of blog posts from database.</p>
  
  <p>This is the example end result of a query : </p>
  
  <pre><code>["apple","banana", "apple", "orange","grapes","mango","banana"];
  </code></pre>
  
  <p>I need to know how many times a string is repeated in that array so I can build a sort of tag cloud.</p>
  
  <p>Final end result should look like: <code>[{name:"apple",count:2}, {name:"banana", count:2}, {name: "orange",count:1} ...];</code></p>
  
  <p>I am using lodash in my project and would like to use it if possible. plain javascript is also fine.</p>