title: How group and count elements by lodash?
body: <p>My data:</p>
  <pre><code>[{
      id: 1,
      name: 'foo'
    }, {
      id: 2,
      name: 'bar'
    }, {
      id: 1,
      name: 'foo'
    }
  ];
  </code></pre>
  <p>I want to do something like this:</p>
  <pre><code>[
    {
      name: &quot;foo&quot;,
      id: 1,
      count: 2
    },
    {
      name: &quot;bar&quot;,
      id: 2,
      count: 1
    }
  ]
  </code></pre>
  <p>Now i'm grouping the elements with <code>groupBy</code> by name.</p>
  <p>Thanks for the help!</p>