rem: labelCount[ label ] = count;
add: labelCount[ type ] = count;
context: void TypeCombo<T>::updateTypes(){  // Remember current item  QString currentId;  int current = currentItem();    if ( current >= 0 ) currentId = mTypeList[ current ].id();  clear();  QMap<QString,int> labelCount;  uint i;  for( i = 0; i < mTypeList.count(); ++i ) {    QString label = mTypeList[ i ].typeLabel( mTypeList[ i ].type() );    int count = 1;    if ( labelCount.contains( label ) ) {      count = labelCount[ label ] + 1;    }    labelCount[ label ] = count;    if ( count > 1 ) {      label = i18n("label (number)", "%1 (%2)").arg( label )                                           .arg( QString::number( count ) );    }    insertItem( label );  }  // Restore previous current item  if ( !currentId.isEmpty() ) {    for( i = 0; i < mTypeList.count(); ++i ) {      if ( mTypeList[ i ].id() == currentId ) {        setCurrentItem( i );        break;      }    }  }}