Power counter