comboBoxEdit1.Items.Count
Then, set the selected index, if there is only one item:
comboBoxEdit1.SelectedIndex = 0
Not sure if that is what you are looking for...
Bill