The number of pants Isabella bought is 21 / 3 = <<21/3=7>>7 pairs of pants.
The number of dresses Isabella bought is 18 / 3 = <<18/3=6>>6 dresses.
The total number of pants and dresses Isabella bought is 7 + 6 = <<7+6=13>>13.
#### 13