error fixed     (int)[group numberOfAssets]