Not all that much - not everyone works in software, and not everyone who does will be most productive from home, and not every one of those will want to work from home.
My work can be done from home and my employer is quite flexible - I still gladly spend the time and pay for my commute because I'd rather not be at home all day.
Looking back on my earlier career I can sympathize.
There are some perks to WFH, but it can be bad for people who don't have a drive to seek human interaction with reasonable frequency.
Later in my career, now that I worked remotely, I am much more independent and don't have as much interest in synchronous communication with my co-workers.
So now you're working out of your small apartment. Maybe you have a housemate or two for better or worse. Besides maybe an onsite meeting or two, you only know your colleagues and manager by messaging and video call. There's no luncheon chit-chat. No softball league. No after-work beers. No random hallway conversations. No impromptu conversations with your manager.
I work pretty much fully remote now by choice and I'm very good with that. I can't really imagine having done it early in my career.
I currently sleep and relax in the same room. I do not want to add working to the list of things I do there.
I mean, your coworkers can drive you absolutely bonkers, but being alone all day can drive you crazy in a different way.
I do know lots of developers who'd like to work from home periodically, sometimes up to a few days a week. But they still like to be able to come into a physical office, have their own seat/desk, etc., the rest of the time.