She has 24/2=<<24/2=12>>12 dresses with pockets
Of those 12/3=4 have 2 pockets
So 12-4=<<12-4=8>>8 have three pockets
So the dresses with 2 pockets have 2*4=<<2*4=8>>8 pockets
The other dresses contribute 8*3=<<8*3=24>>24 pockets
So she has a total of 8+24=<<8+24=32>>32 pockets
#### 32