title: JavaScript - get length of list options
body: <p>Is there a way I can get the length of list options in a select-dropdown HTML input tag? The list changes dynamically and I need to calculate the total number of options within the drop-down. The total options are generated dynamically, so I need a way to calculate number of option tags within an html select tag. I also need to do this in pure JS because the app I am working with will not allow me to use JQuery. (Please don't argue that with me unless there is absolutely no way to do this in pure JS.)</p>
  
  <p>Needs only to be compatible with Internet Explorer.</p>
  
  <p>I assume this will have to do with accessing the DOM, but I am not sure how exactly the syntax will work out.</p>