Depends on the board? I know my board has the m.2 slots share lanes with different sata ports which get disabled when m.2 is used. So if you use multiple m.2 slots, you have no sata ports but your m.2 slots at least have their own lanes.
Edit: yea so the CPU can supply 16x pcie lanes, and the 370 chipset should supply an additional 24 lanes I believe. The graphics card uses the cpu pcie lanes, and storage devices feed off the available 370 chipset lanes.