*aLength = (PRUint32)mElements.Count();  return NS_OK;
if (nsnull != mOptions) { return mOptions->GetLength(aLength); } *aLength = 0; return NS_ERROR_FAILURE;
nsHTMLOptionCollection::GetLength(PRUint32* aLength){  if (mDirty && (nsnull != mSelect)) {    GetOptions();  }  *aLength = (PRUint32)mElements.Count();  return NS_OK;}