Intel socket LGA1150 CPUs have an embedded memory controller, meaning that it is the processor, not the chipset, that defines what memory technologies you can have and the maximum amount of memory that is possible. The motherboard, however, may have a limitation as to how much memory can be installed.
The integrated memory controller from socket LGA1150 processors supports DDR3 memories up to 1,600 MHz. According to ASRock, the Z97 Extreme4 supports memories up to 3,200 MHz.
The ASRock Z97 Extreme4 has four memory sockets. You can install up to 32 GiB with this motherboard if you use four 8 GiB modules.
In order to enable the dual-channel mode, you must install two or four memory modules. On the ASRock Z97 Extreme4, the first and third memory sockets are blue, while the second and fourth are black. When installing two memory modules, use two sockets with the same color.