title: jQuery Sortable - Limit number of items in list
body: <p>I have a schedule table I'm using jQuery Sortable for editing.</p>
  
  <p>Each day is a UL, and each event is an LI.</p>
  
  <p>My jQuery is:</p>
  
  <pre><code>    $("#colSun, #colMon, #colTue, #colWed, #colThu").sortable({
           connectWith: '.timePieces',
           items: 'li:not(.lith)'
      }).disableSelection();
  </code></pre>
  
  <p>To make all LI's sortable except those with class "lith" (day names).
  User can drag an event from day to day, or add new events by clicking a button, which appends a new draggable event (LI) to the fist UL (Sunday).</p>
  
  <p>I want to make each day accept only up to 10 events.
  How do I do this?</p>