Ah (amp-hours) is how many amperes (amps) of current a battery can deliver over a time period before it discharges. So a 10Ah battery could deliver 1amp for 10 hours, 2 amps for 5 hours, etc. Many ebike displays measure Ah for each ride. You can measure it yourself with an electrical load and a simple meter like the
Powerwerx Watt meter. Incandescent lamps make good loads for battery testing.
How long can a lithium battery pack last? As others have posted, it depends on the initial quality and how the battery is 'treated'. Higher quality (read more expensive) packs will far outlast bargain batteries. Treating the battery 'gently' will also get lots more life.
More slowly charging and discharging a battery can significantly extend its life.
Limiting how much energy you draw from the battery can also dramatically extend its life.
Storage conditions play an important role as well. For longer life store batteries at ~50% charge and don't allow them to freeze.
How to translate this all to a life expectancy in years? We'll need to a set of assumptions. First, you've got a high quality battery and that 75% of original capacity is end of life as your primary battery. Also, you treat it 'gently' so you can get at least 1000 charge cycles. Finally, you ride say 100 miles/week getting ~30miles per charge. You'll be charging your battery 173 charge cycles per year. This gets you about 6 years of useful life. YRMV depending mostly on initial quality and how gentle you are willing to be.
batteryuniversity.com has a good selection of articles on these topics. Also, you can use the Search function on each of these forum pages to find several other threads on battery life and handling.