Add counter to dummies loop.