Added type hint on iteration counter in fn-pow.