I’m on 8 years of just left over pine from a house project and I think they have a few more left. I definitely think you could get 20 with that method.
Discussion
My last set of beds was a mix of cedar and pine, they both did great, only had to be a little more careful with the pine when drilling decking screws, it split on my but I didn't see a big difference between that and cedar