There is probably an EPROM on the PCB that records the charge cycles. With the right equipment an EPROM can be made to read anything you want it to.
With that said, you need to know the format in which to write the data so that the firmware can read it. That can be reverse engineered with...