var selectId = '#select_volume_type'; //идентификатор select-а (можно и класс) var optcount = $(selectId + ' option').size(); //получим число его опций console.log('optcount: ', optcount); // вывод в консоль