With that budget, the choice is easy --
ASRock X670E PG Lightning. The rear panel has one USB 3.2 20 Gbps Type-C, one USB 3.2 10 Gbps Type-A, six USB 3.2 5 Gbps Type-A, and four USB 2.0 Ports. The board also has two USB 2.0 and two USB 3.2 5 Gbps headers, for attaching additional panels.
In terms of RAM, you're better of focusing of clock speeds and timings value, rather than the number of ranks. You've not expressed a budget for the memory but something like Kingston's
Fury Beast DDR5-5600 32 GB kit is pretty decent (despite its ridiculous name). One can spend way more than that but don't bother with anything faster than DDR5-6000.