Bug 1045005 - [Loop] Counter error r=ferjm