For some reason my counter is incrementing twice as much as it should.