ADDDIM

Add up total length of selected dimensions