Ah-counter