length

The length property of the HTMLSelectElement interface specifies the number of option elements in the select element.

MDN Reference