First of all we should know that
Switch is a collision domain separator but not broadcast domain separator..
It is a collision domain separator because it has lookup table associated with it..So each lookup table entry contains a port associated with the switch and the MAC address of the concerned device(computer) associated with this port..
Hence collisions domain is separate for each switch ..A switch is nothing but an active hub..
Switch is not a broadcast domain separator ..But it can be made so using the concept of virtual switching..So in that case it will be a broadcast domain separator..
Hence no of collision domains = No of ports = 12