Making equal-sized tabs to fill the full width of a box
Use the length as an index for an array containing classes :

$(document).ready(function() {
    var classes = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten'];
    $('ul.tabs-list').each(function () {
        $(this).addClass(classes[$(this).children().length]);
    });
});