The workable approaches all rely on finding windows in the operating record that are clean enough to be informative and then correcting them.
Coulomb counting across a window between two well-determined states of charge gives a capacity estimate directly, and its accuracy depends entirely on how well those two endpoints are known. Endpoints determined near the flat part of the voltage curve are poorly determined, which is why window selection matters more than the arithmetic.
Voltage-based methods use features of the relationship between voltage and charge that shift in characteristic ways as a cell ages. They need a reasonably wide window and a low enough rate that the measurement is not dominated by resistance effects, and market duties sometimes provide those and sometimes do not.
Model-based estimation runs an electrochemical or equivalent-circuit model alongside the pack and adjusts its parameters to match observed behaviour. It uses every window rather than only the clean ones, at the cost of depending on the model being right.
In all three the honest output includes how much data went into it and how well conditioned that data was. An estimate from a month of shallow high-rate cycling is weaker than one from a month that happened to include a few deep slow ones, and reporting them identically hides that.