I can't agree with both. But number of years matters more than number of features.
With more number of years, you may be building more features and being in the game, you have learnt much more than those who move on to something else.
Consider my case where I did not build much features but I kept ageing. I learnt a thing or two about people skills and have enough skills to get clients, manage their expectations and deliver a product with humility. And getting well paid for it.
Consider my friend's case where he did not build features and did not learn anything. He rot in Infosys for six years. And after Infosys fired him for poor performance, he did not get any job. He aged but now he is closer to God. He is spiritual and is happy with his family. He has enough money to take care of his family for the rest of his life. Experience to save money and manage money is also survival skills which comes with age.
Now, if your question is for a HR agent, the answer is different. It depends on the context. If you are building a commodity product, then you want to reduce cost and you want people with lesser experience and people who can just do their work.
Now, if your question is to the founder of a start-up who wants to build the next hot product, the answer is someone who has done similar work -- not a person who has more experience nor someone who has built a lot of product features. Since you are building something new, you will look for a person who has done something similar - either in that area, or someone who has participated in building something new.
Flipkart was built by Bansals because they worked in Amazon.
Tesla was built by Musk because he had experience of the unknown / uncertainty when he was working with Paypal.
So, what matters for a hot start-up is dealing with uncertainty and working on similar areas. And neither number of years of experience nor number of product features will help in this regard.