add image counter