In a typical four year university program you will probably have spent two years learning how to think about problems to make them easier to attack and three years worth of doing projects. So figure 12 to 15 solid projects that you were a primary input on. Probably four or five of them that you started with a clean sheet of paper and a problem and produced as solution.
I've interviewed a number of people who were programmers but did not have a degree in CS, those who were just caught up in it and lived and breathed it, learned every new language that comes out to see how they are different, implement algorithms in four different languages to see how the compilers compare or design languages, or operating systems, or complex applications from scratch to under stand them better, those people it really doesn't matter. In many ways they are better than people with CS degrees.
Then there are people who got interested in the end effects, fancy web sites, or maybe video games, or breaking into things 'for the lulz' who really don't care about programming so much as it is playing with computers or technology. They read a bunch of blogs maybe, but they don't think deeply about what the underlying systems are doing. For those folks sometimes almost any amount of 'experience' isn't enough if the bit hasn't flipped to understanding as opposed to just doing.
The third category are folks who started programming accidently, they needed to do something and there was no one around to do it so they poked and prodded and got it to work. Over the weeks, months, years they have collected a bunch of 'recipes' for getting stuff done, maybe they know why a hash table differs from a binary tree maybe they don't but if told to they can use either. For them its a lot harder call. 3:1 ? May 4:1 ? Its a matter of being exposed to a lot of different problems so that they can recognize where the solution space is going to be quickly.
Certainly any time you're putting code to compiler and producing product that counts as experience, paid or not, but the quality of the experience matters a lot. No amount of experience localizing pre-existing code will train you to write a compiler.