title: How to search for a string other than specify in array count values function?
body: <p>I'm trying to create a chart using Chart.js, however, there is a problem when trying to count values from an array. There is a key in array called <code>reference</code> with values of <code>Facebook</code>, <code>Google</code>, <code>Invitation</code>, <code>[Other than all that]</code>.</p>
  
  <pre><code>array_count_values(array_filter(array_column(($participants-&gt;toArray()), 'reference')))['Facebook'] ?? '0';
  array_count_values(array_filter(array_column(($participants-&gt;toArray()), 'reference')))['Google'] ?? '0';
  array_count_values(array_filter(array_column(($participants-&gt;toArray()), 'reference')))['Invitation'] ?? '0';
  array_count_values(array_filter(array_column(($participants-&gt;toArray()), 'reference')))['Other'] ?? '0';
  </code></pre>
  
  <p>I want the last line which is looking for other string. Other should be a string that is <strong>other than Facebook, Google and Invitation</strong>. However, if there is any other cleaner/proper way of doing it would also be helpful. Thanks!</p>