2
I did an internship and got an offer so I had something lined up when I graduated
About a year, though I wasn't looking very hard