Use the Combo bx's listcount property
cboComponent.listcount