Any way to transfer songs from iPhone to iTunes on Windows 8?

I have over 300 songs on my phone, and I'm wondering how to transfer it to my new laptop's iTunes [for free]
My old laptop with the songs broke down due to being smashed, so all apps don't work.
I can't even drag the files from my old laptop to a usb since it won't even register

https://support.apple.com/...s/HT201272

If you purchased all those songs from Apple store you should be able to get them all back.( songs that are no longer in the apple store library might not be available… On that web page scroll down to the windows section… The PC section…