Number of items in a drop-down list

Is there a way to determine the number of items present in a drop-down list? If so, how would I go about doing this?

Thanks!