I disagree — internships and apprenticeships absolutely count, at least for me, as long as you can show me what you’ve learned. And sometimes there really are places who are hiring people fresh out of school, but that’s because those companies already have the structure in place to support and mentor a junior person.
From the perspective of a hiring manager: I want you to succeed when you come work on my team. I would love to spend the time and effort to mentor all of the junior candidates I can. But I’ve got to be realistic: if I hire a very junior person and I don’t have the resources in place to support you, you’ll likely fail and it will be my fault because I didn’t set you up for success.