As others have said, how you care for your batteries has a lot to do with longevity. If you drain them well below 50% SOC, they won't last as long (FLA and AGM). If your charger isn't a 'smart' charger, they won't last as long. If you use regular 'car' batteries, they won't last as long.
You can get good FLA from Sam's or Costco for about $1/AHr (6v GC, had on last 5er), I'd expect those to last 5-6yr+ if treated well. For about $3/AHr you can get Lifeline AGMs (no maintenance hassle, have on current 5er); expect those to last 10+yrs if treated well. Li batteries are lighter and can be discharged further without harm but also have some special charging requirements. I don't have experience with these *yet* but price keeps coming down, and is below $10/AHr now.