$('#formTest').submit(function(ev) {
ev.preventDefault(); // to stop the form from submitting
/* Validations go here */
var count = $("#usuarios :selected").length;
alert(count);
this.submit(); // If all the validations succeeded
});