Add image counter