I can confirm if you have 11th gen CPU on Z590, you will have 20 pcie4 lanes. 16 for you gpu and 4 for one of your nvme drive.
I did not give the 4x pcie lanes to my OS drive. Instead, I gave it to my gaming drive as I am a heavy gamer. The OS drive got only pcie3.