title: How to count multiple properties values in array of objects using lodash?
body: <p>Is it posible to count both <code>name</code> and <code>city</code> using one variable without using <code>_.merge</code>?</p>
  
  <pre><code>const people = [
    { 'name': 'Adam', 'city': 'London', 'age': 34  },
    { 'name': 'Adam',  'age': 34  },
      { 'name': 'John', 'city': 'London','age': 23   },
      { 'name': 'Bob', 'city': 'Paris','age': 69   },
     { 'name': 'Mark', 'city': 'Berlin','age': 69   },
  
  ]
  const names = _.countBy(people, (person) =&gt; person.name);
  const cities = _.countBy(people, (person) =&gt; person.city);
  
  console.log(_.merge(names,cities)); // Object {Adam: 2, Berlin: 1, Bob: 1, John: 1, London: 2, Mark: 1, Paris: 1, undefined: 1}
  </code></pre>