I would suggest you write them all out the long way and you will indeed see there are 32. Here is one way to look at it:
If it were just a double cross of
BbCc x BBCc
then there would be 8 different genetic combinations
BBCC
BBCc
BBcC
BBcc
bBCC
bBCc
bBcC
bBcc
Now you include the Aa x Aa and that means you multiply the 8 by 4
AA
Aa
aA
aa
because for each of the pairs above all of the B and C combinations apply.
Hope this makes sense.
I know that there is a formula way of explaining it, but I think that by working it the long way you understand it better.