title: how do I count duplicates and order by most duplicates
body: <p>how do I count duplicates and order by most duplicates and also show how many duplicates there are?</p>
  
  <p>I have a table with some numbers and would like to sort numbers after duplicates and also for each number print how many duplicates it had.</p>
  
  <p>How can I do that?</p>
  
  <p>My table structure:</p>
  
  <pre><code>    Schema::create('random_numbers', function (Blueprint $table) {
          $table-&gt;bigincrements('id');
          $table-&gt;biginteger('number')-&gt;unsigned();
          $table-&gt;timestamps();
      });
  </code></pre>