title: Countable issue for PHP 7.2
body: <p>I have a client that's been relying on a WP plugin for years that was abandoned by the author a few years ago. I've been able to make some fixes to make it work with an upgrade to PHP 7.2, but this one puzzles me. The more I research it, I feel like the less I understand about how to fix it. </p>
  
  <p>Warning below:</p>
  
  <blockquote>
    <p>Warning: count(): Parameter must be an array or an object that implements Countable in /app/public/wp-content/plugins/ozh-admin-drop-down-menu/inc/core.php on line 311 (<em>first line below is 311</em>)</p>
  </blockquote>
  
  <pre><code>if (!count($wp_ozh_adminmenu)) {
      $wp_ozh_adminmenu = (array)get_option('ozh_adminmenu');
      unset($wp_ozh_adminmenu[0]);
  }
  </code></pre>