Just a minor correction for California agents... salespeople only need two years of experience without a four year degree, one of experience with a two year degree, or no experience with a four year degree.
And an argument against the advice to look at the number of years in the business... A persons age in the business is not a very good measure of their effectiveness at closing sales. I would encourage you instead to ask for the percentage of houses sold compared to their listings if you're looking for someone to sell your home and/or the percentage of escrows they've closed versus those that they've opened regardless of what side of the transaction you're on. Experience is way over-emphasized in this business. Experience may, however, speak to the types of markets that the salesperson has "experienced." But so what. Experience is also defined by the agent giving you their number of years in the business and doesn't speak to whether that experience was part-time, personal transactions (i.e. selling own home), or even including time as an "inactive licensed salesperson." Instead, I would place more emphasis on the statistics mentioned above, industry education, and specific experience to your situation (defined by you).